ArcPad Scripting Object Model
Evaluate Method
See Also  Send comments on this topic.
Expression
Required. A String that represents the expression to be evaluated.
Applet Object : Evaluate Method

Glossary Item Box

Description

Evaluates the specified expression in the applet's scripting space and returns the result.

Syntax

object.Evaluate ( Expression )

Parameters

Expression
Required. A String that represents the expression to be evaluated.

Return Type

Variant

Remarks

The Evaluate method can be used to return the value of a variable defined and used by the Applet's scripting space from another scripting space. For example, if the variable 'lngValue' is defined in the APA or VBS file of the applet 'MyApplet', you can retrieve it's value in a layer definition file via the following code:

       Dim lngExtractedValue
       lngExtractedValue = Application.Applets("MyApplet").Evaluate("lngValue")
  

See Also

© 2013 All Rights Reserved.