Determines
whether the given parameter is a reference syntax to an existing object.
Parameters
Parameter
|
Description
|
v
|
A valid reference syntax expression.
If v is
not a reference syntax, the function returns false (0).
|
ExamplesThe
following expressions are examples that use the Exists function:
Expression
|
Returns
|
Exists(Item)
|
True (1) if the object Item exists
and false (0) otherwise.
|
Exists("hello world")
|
False (0). The string is
not a reference syntax.
|
Exists(Invoice.Border.Edge[1].Color)
|
True (1) if the object Invoice exists
and has a Border property, which in turn has at
least one Edge property, which in turn has a Color property.
Otherwise, the function returns false (0).
|
|
|
|