Public Function TimesEqualFn( _ ByRef rLeft As Variant _ , ByVal vRight As Variant _ ) As Variant
Assuming Dim dblValue As Double dblValue = 2.5 for example TimesEqualFn(dblValue, 2) = 5 leaves dblValue = 5See also:
TimesEqual Subroutine Mult Function DivideEqualFn Function PlusEqualFn Function MinusEqualFn FunctionDefinition (Visual Basic):
rLeft = rLeft * vRight TimesEqualFn = rLeftDefinition (C):
#define TimesEqualFn(rLeft, vRight) (rLeft *= vRight)rLeft: Numeric or date value which is multiplied by vRight. The result of the multiplication is assigned back into the variable passed via rLeft (unless that value happens to be passed-by-value) and the result is also returned.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.