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 difference between a debug and release build?
Which Namespace is used to to achieve MultiThreading in .NET?
What is implement a generic action in webapi?
What is the difference between server.transfer and response.redirect? Why?
Tell us why do we use the “using” statement?
What is meant by globalization and localization?
Explain attributes in dot net?
Can you edit data in repeater control? How?
Explain can 2 different applications use the same dll in gac at the same time?
Explain how to redirect tracing to a file?
What is assemblies in .net?
what user controls are and what server controls are and the differences between the two.
What are the main components in .net?
What is the use of Treeview control?
What is UDDI and how to register the web service in it?