UNCOMPILE removes compiled code from a program in memory. See the HP BASIC compiler manual for details. (Not supported on HP BASIC/UX 700.)
See SEND.
Supported On | UX* WS DOS* |
Option Required | SRM, DCOMM, or HFS |
Keyboard Executable | Yes |
Programmable | Yes |
In an IF ... THEN ... | Yes |
UNLOCK is used to remove exclusive access (placed by the LOCK statement) on an SRM or HFS file associated with an I/O path name (see ASSIGN).
UNLOCK @File
IF Done THEN UNLOCK @File
Item | Description | Range |
---|---|---|
I/O path name | name identifying an I/O path to an SRM file | any valid name (see Glossary) |
This statement unlocks a file previously locked with the LOCK statement. While a file is locked, other SRM workstations or HP-UX processes cannot access the file. After UNLOCK, other users may access the file provided they possess the proper access capability (or capabilities).
If multiple LOCKs were executed on the file, the same number of UNLOCKs must be executed to unlock the file.
UNLOCK is performed automatically by SCRATCH A, SCRATCH BIN, [RESET] and ASSIGN...TO * (explicit closing of an I/O path).
Since LOCK is not available for RFA, NFS, or LIF on HP BASIC/UX, UNLOCK is not supported for RFA, NFS, or LIF on HP BASIC/UX. However, no error is generated when LOCK or UNLOCK is executed.
HP BASIC/DOS does not support UNLOCK for DFS files.
See SEND.
See REPEAT...UNTIL.
Supported On | UX WS DOS IN |
Option Required | None |
Keyboard Executable | Yes |
Programmable | Yes |
In an IF ... THEN ... | Yes |
UPC$ replaces lowercase ASCII characters with their corresponding uppercase characters.
Capital$=UPC$(Mixed$)
IF UPC$(Yes$)="Y" THEN True_test
The corresponding characters for the Roman Extension alphabetic characters are determined by the current lexical order. When the lexical order is a user-defined table, the correspondence is determined by the STANDARD lexical order.
Certain localized versions of HP BASIC, such as Japanese localized HP BASIC, support two-byte characters. The UPC$ function converts only one-byte characters and does not change two-byte characters. For more information about two-byte characters, refer to the globalization chapters of the HP BASIC Porting and Globalization manual.
Supported On | UX WS DOS |
Option Required | KBD |
Keyboard Executable | Yes |
Programmable | Yes |
In an IF ... THEN ... | Yes |
USER KEYS changes the current softkey definitions on an ITF keyboard to one of three User Softkey Menus.
USER Menu_number KEYS
IF Change_keys THEN USER 1 KEYS
Item | Description | Range |
---|---|---|
menu number | numeric expression, rounded to an integer | 1 through 3 |
This statement only affects the normal mode of the ITF Keyboard (i.e. it does nothing on an HP 98203A/B/C Keyboard and causes no visible change on an ITF Keyboard when the Keyboard Compatibility mode is on).
Note that the functionality of this statement can be achieved through KBD CONTROL register 2.
For information on the softkey definitions, see Using HP BASIC/WS 6.2 or Using HP BASIS/UX.
See DISP, ENTER, LABEL, OUTPUT, and PRINT.