HP 3000 Manuals

LENTER [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

LENTER 

The LENTER statement assigns all or part of a line of display memory to a
string variable.  User input from the keyboard is not accepted.

The assigned string value begins at the cursor position and ends at the
rightmost column for that line in display memory.  Commas are read as
characters, not as data item separators.

LENTER interacts in a special way with an active JOINFORM. This is
described in detail in Appendix F.

Syntax 

LENTER str_var 

Parameters 

str_var          A string variable that will accept the data.  An error
                 occurs when the input string value exceeds its maximum
                 length.  If this value is a substring, and the input
                 string value exceeds its length, the input string value
                 is truncated on the right (no error occurs).  See
                 "Substring References" in chapter 3 for more
                 information.

Examples 

The following examples show the use of the LENTER statement.

     320 LENTER Str_var$
     330 LENTER Sub_str$ [2;3]
     340 LENTER Sub_str$[1]



MPE/iX 5.0 Documentation