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
What is the native image generator?
What is Flyout Design Pattern in .NET?
What is meant by globalization?
What are multicast delegates?
What is manifest in .net?
How can you turn-on and turn-off cas?
Tell us what is heap and what is stack?
What is heap and what is stack?
What is difference between .net and .net core?
How is a managed code executed?
Difference abstract class and interface in .net?
What are Satellite Assemblies? How you will create this? How will you get the different language strings?
What is loosely coupled solution in.net?
What are the namespace available in .net?
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?