Please enable JavaScript to view this site.

ESL Documentation

Action Statement

Change the parameter of an object or item.

For Objects:

make {OBJECT_NAME|CLASS_NAME} parameter PAR_STRING

For Items:

make item {ITEM_NAME [from AB_NAME]|ITEM_CLASS_NAME} parameter PAR_STRING

 

OBJECT_NAME

The identifier for an object.

CLASS_NAME

The identifier for a class of objects.

PAR_STRING

A string value representing the new parameter you want associated with the object.

ITEM_NAME

The identifier for an item.

from AB_NAME

The identifier for an action bar template. You must specify the action bar name if more than one template contains an item of the given name. You cannot specify it if the item was defined outside of an action bar template.

ITEM_CLASS_NAME

The identifier for a class of items.

Description

The parameter of an item is attached to, and is an attribute of, the action bar template or the standalone item template. If the parameter is changed within an action statement, it is changed in the template definition and everywhere it is referenced.

The maximum length of a parameter string is 256 characters for a literal string and 32,765 characters for a variable string.

Example

 

response to Home

 make BlueKey parameter "Colored_Key"

 

response to Headquarters

 make RedItem in BlueItem parameter "Chicago"

 

response to Test

 make item File_Open from Master_ActionBar

 parameter "tempfile.eal"

See Also

parameter Response Inquiry Built-in Function

parameter is Attribute Definition

parameter of Object Inquiry Built-in Function