|
-
Mar 15th, 2001, 12:19 PM
#1
Thread Starter
Member
ok, say you define a function in a .bas module
public function SayHi(Wave as boolean) as boolean
wave = true
sayhi = true
end function
when I pass the "wave" variable from a form to this module with the original value of false ( wave = false )
when the function returns,
wave is still = false!
it doesn't get modified at all through the function in the .bas module. I never had this problem with functions on the form itself, but I am trying to clean things up a bit. Anyone know how to get 'Wave' to retain the value given to it by this function residing in a module??
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
|