Activities can access two types of arguments that are not
directly defined as properties:
- Parameters are formally declared input or output
variables that are passed to or from a called activity using
a page structure. This page has no class and is known as the
parameter page.
- Local variables are text strings stored in a Java
StringBuffer object rather than a page structure. They
require less memory and can be accessed with less computer
overhead than parameters. Three special StringBuffer methods
are available to manipulate local variables.
Within the activity, use the Local
keyword
followed by a period and the variable name to read or set the
value of a local variable:
Local.Numberofcylinders
Definitions — L