|
-
Jan 9th, 2000, 12:05 PM
#1
Thread Starter
Member
hello,
i just wanted to ask what's the basic diffrence betwen sub and function
(with code please)
------------------
-casparas
novice programer
[email protected]
-
Jan 9th, 2000, 12:10 PM
#2
a function is the same as a sub but it can return a value inside its name:
Code:
private function MyFunct(byval AA, Byval BB) as boolean
if AA < BB then MyFunct = true
end function
------------------
Wossname,
Email me: [email protected] 
-
Jan 9th, 2000, 12:10 PM
#3
Hyperactive Member
There's a free lesson at ZDU all about normal procedures and functions for free. I took it but I forgot what the difference between the two is. It's something about the way they are called (activated), and how the variables are passed.
Sorry if I wan't too much of a help!
------------------
Regards,
Alexander McAndrew
VB Zone
http://gsenterprise.server101.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|