|
: -16 : 0 : 16 |
In LotusScript, if a variant is referred to without a subscript, assume the default lower bound (0 or 1). For example, to refer to the value in the FirstName field...
doc.FirstName would be treated the same as doc.FirstName(0)
This would be useful as follows:
if doc.FirstName = "Ralph" then doc.IsAllowed = "No"
dim amt as integer
amt = doc.Amount
This would eliminate most of the Variant does not contain an object errors.
|