Please enable JavaScript to view this site.

ESL Documentation

Response Inquiry Built-in Function

Return the name of an object/item.

object

Description

Use this function to return a string value representing the name (identifier) of the object or item that was selected. The name is obtained from the object or item definition. The ancestry is not returned.

If you specify the object function more than once within a single response, the same value will be returned until the response is completed.

The object function always returns the value of the last response taken.

Use the object function only within a response to OBJECT or response to item response definition. If you use this function within any response other than a response to OBJECT or response to item, ESL returns the null string as the value of the function.

Example

 

response to HelpClass

 make object red

 if (object = "StartKey") then

         ...

 end if

See Also

response to OBJECT Response Definition

response to item Response Definition