Chapter 6 RAPID!
Commands
WCDMA Options Version 6.20
163
CLS
LOCATE Sets the cursor position on-screen for the subsequent
output command.
PRINT or
OUTPUT
Shows an expression on-screen.
SOFTKEYS Labels the 4400’s softkeys.
TEXTATTR Sets background color and text size, font and color.
Syntax
CLS [textCol] [,[bgCol] [,fontSize[b]
[i]]]
Parameters
textCol is the new text color,
bgCol is the new background color,
fontSize is the new font setting,
b stands for bold text,
i stands for italic text.
Description
Clears the screen and positions the cursor in the upper
left screen corner.
Optionally, new background and text settings for the
subsequent output operations may be specified:
Text and background color may be assigned one of the
predefined constants
BLACK, WHITE, GREY,
MGREY, DGREY, RED, GREEN, BLUE, YELLOW,
MAGENTA, CYAN, DGREEN, DCYAN, DBLUE,
BROWN, PURPLE
.
Alternatively, you may assign a code between
0..&HFFFFFF. This code represents an RGB model of
the screen colors, where the first two hexadecimal fig-
ures represent the red color, the middle two figures the
green and the last two figures the blue color.
The font setting is specified by the font code followed by
the font size.
The following fonts are available (corresponding codes in
parentheses):
Charter (
char), Courier (cour), Courier 10 Pitch (cou-
rier
), Dutch 801 (dutch), Helvetica (helv), Lucida
(
lu), Lucida Bright (lub), Lucida Terminal (lut) New
Century Schoolbook (
ncen) PC Sansserif (pcss), PC Serif
(
pcs), PC Terminal (pcterm), Swiss 721 (swiss), Symbol
(
symb) Technical (tech), Times (time) Useless
(
uselss), Utopia (utop) .
The selectable font sizes are
8, 10, 12, 14, 18,
20, 24, 32, 48
pt.
Optionally, the text can be set to bold (
b) and/or italic
(
i).
Note: The font codes are string values, they have to be
put in quotation marks (e.g. "cour14"). Otherwise, a syn-
tax error will occur.