Please enable JavaScript to view this site.

ESL Documentation

Response Inquiry Built-in Function

Return the input data that stimulated the current response.

input

Description

Use this function only in a response to char or response to line response definition. If you use it anywhere else, input will return a null string.

The input data can be received from the keyboard or from an application.

Example

 

response to char from keyboard

 append input to AccumulatedLine

 send "Go \n" to LocalApp

 begin guarded

         response to line "ERROR:" from LocalApp

                 send input "\n" to errorlog

         response to line "DONE" from LocalApp

                 leave block

         response to line from LocalApp

                 add to DisplayRegion

                 insert input "\n"

 end

See Also

response to char and response to line Response Definitions