Zeropan152 Posted March 19, 2009 Author Share Posted March 19, 2009 does any1 know the difference between sub procedures and function procedures? Link to comment Share on other sites More sharing options...
zade_o Posted March 20, 2009 Share Posted March 20, 2009 Function procedures are used to return a value.Sub procedures are used to do something…i.e. you can do thisdim aa=SomeFunction()but with a procedure you would have to dodim aCall SomeSub();and let the Sub change a. Link to comment Share on other sites More sharing options...
Zeropan152 Posted March 21, 2009 Author Share Posted March 21, 2009 so basically they do the smae thig except the function procedure return the value while sub doesnt. i get it thanks Link to comment Share on other sites More sharing options...
balliztik1 Posted March 21, 2009 Share Posted March 21, 2009 Think of it in terms of language. Functions are adjectives, and subs are verbs. Functions tell about a value, while subs are actions taken. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now