Public Sub PlusEqual( _
ByRef rLeft As Variant _
, ByVal vRight As Variant _
) Assuming
Dim dblValue As Double
dblValue = 2.5
for example
PlusEqual dblValue, 2
leaves
dblValue = 4.5See also: PlusEqualFn Function
Addit Function
MinusEqual Subroutine
TimesEqual Subroutine
DivideEqual SubroutineDefinition (Visual Basic): rLeft = rLeft + vRightDefinition (C):
rLeft += vRight;rLeft: Numeric or date value to which vRight is added. The result of the addition is assigned back into the variable passed via rLeft, unless that value happens to be passed-by-value (in which case, calling this function has no effect).
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.