fredfortsonsr
Registered User.
- Local time
- Today, 19:38
- Joined
- Apr 11, 2001
- Messages
- 15
Hi, I have a question involving a function that exists in a Module. (I am reviewing someone elses program)
The Function is quite lengthy, but begins like such.
*****************************
Sub FindDewPoint(fIsTable As Boolean)
*****************************
Now, inside the form is the following code that calls the function.
My question is why is the word FALSE following it? The same for the 3 functions following it. Is the programmer saying NOT to run the function? Doesn't seem so.
I am also thinking that he was simply setting the value of the Function to FALSE upon starting, but then results of the Function could change that.
If [Gas Phase] Then
FindDewPoint False ' Run this Function in Module 1
Moles False
PreCalcEnd False
Module1.Weight (False)
End If
Any opinions out there?
Thanks
Fred
The Function is quite lengthy, but begins like such.
*****************************
Sub FindDewPoint(fIsTable As Boolean)
*****************************
Now, inside the form is the following code that calls the function.
My question is why is the word FALSE following it? The same for the 3 functions following it. Is the programmer saying NOT to run the function? Doesn't seem so.
I am also thinking that he was simply setting the value of the Function to FALSE upon starting, but then results of the Function could change that.
If [Gas Phase] Then
FindDewPoint False ' Run this Function in Module 1
Moles False
PreCalcEnd False
Module1.Weight (False)
End If
Any opinions out there?
Thanks
Fred