Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the Difference between a sub and a function?

Answer Posted / bart calixto

yeah, sure.. everyone says that but...

what's the purpose of sub.?
I can do a function

Function ThisIsASub()
write "HELLO WORLD"
end Function

wow! I have a sub now.

so, besides the stupid reason that sub don't return value, what's the point of using subs?

If like someone create a newIF but it doesn't support ELSE... what's the point?

Greetings,
Bart.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the native image generator?

1149


What is Flyout Design Pattern in .NET?

1119


What is meant by globalization?

1025


What are multicast delegates?

1052


What is manifest in .net?

1102


How can you turn-on and turn-off cas?

982


Tell us what is heap and what is stack?

1140


What is heap and what is stack?

1084


What is difference between .net and .net core?

991


How is a managed code executed?

1395


Difference abstract class and interface in .net?

1061


What are Satellite Assemblies? How you will create this? How will you get the different language strings?

2002


What is loosely coupled solution in.net?

975


What are the namespace available in .net?

1118


A developer company sends dlls to the client. Some client is not happy current functionality, so request some modification. Developer made some changes and send new dll to all clients. Some client is happy with old version, tell me minimal change to so that neither clients get affected?

927