HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)
3- 8
Table 3-7. Keywords with Alternate Spellings
---------------------------------------------------------------------------------------------
| | |
| Keyword | Alternate Spelling |
| | |
---------------------------------------------------------------------------------------------
| | |
| ENDIF | END IF |
| | |
---------------------------------------------------------------------------------------------
| | |
| ENDLOOP | END LOOP |
| | |
---------------------------------------------------------------------------------------------
| | |
| ENDSELECT | END SELECT |
| | |
---------------------------------------------------------------------------------------------
| | |
| ENDWHILE | END WHILE |
| | |
---------------------------------------------------------------------------------------------
| | |
| FNEND | FN END |
| | |
---------------------------------------------------------------------------------------------
| | |
| GOSUB | GO SUB |
| | |
---------------------------------------------------------------------------------------------
| | |
| GOT0 | GO TO |
| | |
---------------------------------------------------------------------------------------------
| | |
| SUBEND | SUB END |
| | |
---------------------------------------------------------------------------------------------
| | |
| SUBEXIT | SUB EXIT |
| | |
---------------------------------------------------------------------------------------------
Comments versus Remarks
Both comments and remarks are used for documentation only. Table 3-8
summarizes their similarities and differences.
Table 3-8. Comments vs Remarks
---------------------------------------------------------------------------------------------
|||| |
||Relationship to | How Recognized | Effect on Run-time Efficiency |
||Program || |
|||| |
---------------------------------------------------------------------------------------------
|||| |
| Comment | Optional part of | Follows ! on | None (HP Business BASIC/XL ignores |
| | program line. | program line. | everything after !). |
|||| |
---------------------------------------------------------------------------------------------
|||| |
| Remark | Nonexecutable | Begins with the | Slight (HP Business BASIC/XL must |
| | program line. | keyword REM. | read the word REM to determine |
||||that it does not need to do |
| | | | anything else for that line). |
|||| |
---------------------------------------------------------------------------------------------
A comment can follow an empty statement as shown in line 400: