SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-177
String Intrinsics
This intrinsic is often used when terminal dependent scripts are being written; for
example, COLOR for the T6540 PC emulator program. For example:
#TIME
returns a string containing the current time in HH:MM:SS format, where:
HH is local civil hour (00..23).
MM is minutes (00..59).
SS is seconds (00..59).
#TIMERCPUMS
returns the CPU process busy time in milliseconds since ALTER STATISTICS ON
or the last function key was pressed.
#TIMERCPUSECS
returns the CPU process busy time in seconds since ALTER STATISTICS ON or
the last function key was pressed.
#TIMERMS
returns the elapsed time in milliseconds since ALTER
STATISTICS ON or the last
function key was pressed.
#TIMERSECS
returns the elapsed time in seconds since ALTER
STATISTICS ON or the last
function key was pressed.
IF (#termid="T6540") and { Device is a PC running PCT, and
(#firmid>="C") { Firmware level is C or higher.
THEN BEGIN { Device can handle color.
CALL SeeColor ("SHOW"); { Call proc to display colors.
END;
Note. The returned value is a string representation of the 32-bit value and might not be
suitable for 16-bit computation.
Note. The returned value is a string representation of the 32-bit value and might not be
suitable for 16-bit computation.
Note. The returned value is a string representation of the 32-bit value and might not be
suitable for 16-bit computation.
Note. The returned value is a string representation of the 32-bit value and might not be
suitable for 16-bit computation.