ConsoleField

A ConsoleField part defines an on-screen field that is declared in the context of a console form (as described later). The following example declares a console field variable whose content can vary at run time:
  myField ConsoleField {
    name="myFieldName",
    position=[1,31],
    fieldLen=20, 
    binding = "myVariable" };
To specify constant text, use an asterisk (*) in place of the variable name, as in the following example:
  *    ConsoleField  
       { position=[2,5], value="Title:  " };

When you declare a named console field, use the same name for the console field and for the value of the name attribute within the console field. However, different names are valid for those two uses. Reference the console field name (like myField) when access to the console field is resolved at generation time. Reference the name-attribute value (like myFieldName) when access is resolved at run time, as when the console field defines an event in the openUI statement.


Feedback