HP 3000 Manuals

LINPUT Statement [ HP Business BASIC/XL Migration Guide ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Migration Guide

LINPUT Statement 

The LINPUT statement is automatically translated as indicated below:

The LINPUT statement may not take a prompt in BASIC/V. When the statement
executes, the cursor does not move and the default prompt "?" does not
print.  This allows you to use a PRINT statement ending in a semicolon or
comma, followed by an LINPUT statement to achieve the effect of a prompt.

In HP Business BASIC/XL, the LINPUT statement can include an optional
prompt.  If you do not include a prompt, the cursor moves to the
beginning of the next line and the default prompt "?" prints.

The migration aid inserts null prompts into LINPUT statements so they act
the same in HP Business BASIC/XL as they did in BASIC/V.



MPE/iX 5.0 Documentation