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
The project which you have made, which methodology did you use?
What is garbage collection? Explain the difference between garbage collections in .net 4.0 and earlier versions?
What are nullable types in .NET
What is heap and what is stack?
What are the core differences between .NET Languages ?
Write the .net syntax for 'for loop'?
What is Ajax? How it is related to your project?
What is boxing and un-boxing 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?
With these events, why wouldn't microsoft combine invalidate and paint, so that you wouldn't have to tell it to repaint, and then to force it to repaint?
Tell us the difference between managed and unmanaged code?
Tell us the difference between the while and for loop. Provide a .net syntax for both loops?
What is the use of common language runtime?
How to prepare parametrized (with more than one parameters) crystal report. Please tell me the code procedure, if any body can?
When displaying fonts, what is the difference between pixels, points and ems?