VarSpace
|
Description:This module contains methods needed by the one or more classes within the VarSpace library. Function or subroutines needed by more than one class will usually be found within this module.
Author:
Andrew F. FriedlCopyright:
History:
1999 BlackBox Software & Consulting
- 2000.04.01 Modified comments to be DocuPro compatible.
General Methods
object members |
|
OptParmBool
|
Public Function OptParmBool(Default As Boolean, Optional Value) As Boolean
Simplifies the handling of optional boolean parameters. |
General Methods - Detail
object members |
Simplifies the handling of optional boolean parameters.
Description:
This function simplifies the handling of optional method parameters by returning either a default value, or a boolean value of the parameter that is optional. If the parameter is "missing" when passed to this function, a default value will be returned, otherwise, the boolen value of the parameter will be returned.Definition:
Public Function OptParmBool(Default As Boolean, Optional Value) As Boolean
Parameters: Default The default value to be returned when the optional parameter is missing. Value The Optional parameter. Returns:
A boolean value that is either CBool(Value) or Default