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??