HP RPG/iX Utilities Reference Manual (30318-90006)

2- 170
distinguished from other commands which are similar (4). Note that "F" alone is defaulted to FIND, but
when "F" is used with a second character, RISE requires a more thorough identification of the command,
and no default is assumed.
Finally, FIND is used with the string "DISK" in a line range. The first occurrence of "DISK" is listed on the
screen (5). When the "F" command is given, the next occurrence is listed (6). An execution message
informs the user that all occurrences have been found (7).
>TEXT SIMCAL
(1) Text completed.
>LIST 1/5
1 00011H
SIMCAL
2 00012FINPUT IP F 72 DISK
3 00013FOUTPUT O F 72 DISK
4 00014IINPUT AA 01 1 CA
5 00015I OR 02 1 CS
>
(2) >FIND EVERY ;PUT; IN ALL
2 00012FINPUT IP F 72 DISK
3 00013FOUTPUT O F 72 DISK
4 00014IIN‘PUT" AA 01 1 CA
16 00026OOUTPUT H 22 1P
>
(3) >F EV IN A
2 00012FINPUT IP F 72 DISK
3 00013FOUTPUT O F 72 DISK
4 00014IINPUT AA 01 1 CA
16 00026OOUTPUT H 22 1P
>
>
(4) >FI ;DISK; IN 1/10
^
Error 19: Can't distinguish between FILe, FINd, or FOrm.
>
(5) >F ;DISK; IN 1/10
2 00012FINPUT IP F 72 DISK
(6) >F
3 00013FOUTPUT O F 72 DISK
(7) >F
'DISK' not found.
>