Module VarGlobals

VarSpace
Module VarGlobals

Contains methods shared by the entire VarSpace Stack Library
Developer Documentation
C:\AAA-Exchage\DocuPro6\VarSpace\VarGlobals.bas

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. Friedl

Copyright:
1999 BlackBox Software & Consulting

History:

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

OptParmBool

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


Generated by BlackBox Software's DocuPro for VB6
Software and Documentation Copyright 1999,2000 BlackBox Software, All Rights Reserved