Typing And Executing Commands - HP 9000 200 Series Manual

Using the basic 5.0/5.1 system
Table of Contents

Advertisement

Typing and Executing Commands
You can type in and execute commands from the keyboard at all times except when:
• there is currently a command being executed, with another one already entered
and waiting to be executed
• there is a program running that traps keystrokes (with ON KBD) or disables the
keyboard (with SUSPEND INTERACTIVE).
At all other times, you can type in commands and press
I
Return
I
to present them to the
system for execution. The system parses the command and takes the appropriate action.
Example Command (Determining Available Memory)
Type in and execute the following command (characters will appear in the "Keyboard
Input" line near the bottom of the display):
SYSTEMS
(II
AVAILABLE MEMORY
II)
I
Return
I
The system returns something like this in the "System Messages" line at the bottom of
the display:
123456
This value represents the number of unused bytes of memory.
Example Command (Checking and Setting the System Clock)
The following functions allow you to check the setting of the system clock (the
CLOCK
binary must be already loaded):
DATE$(TIMEDATE), TIME$(TIMEDATE)
I
Return
I
The system returns something like this:
17 Mar 1987
10:27:32
You can set the time and date with the SET TIMEDATE statement; here is an example:
SET TIMEDATE DATE("17 Mar 1987")+TIME("10:30:00")
I
Return
I
If you are sharing a hard disc with an HP-UX system, you should also use the TIMEZONE
IS statement for compatibility with time stamps on files. See the BASIC Language
Reference, TIMEZONE statement, for details.
Introduction to the System
2-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

9000 300 series

Table of Contents