PRESCRIBE Command Reference
284
SETF — SET alternate Font
Format
SETF alternate-number, font-number;
Parameters
alternate-number:
a number from 0 to 31
font-number:
a number from 0 to 65535
Function
The SETF command assigns a font to an alternate number, so that it can be selected by
the ALTF (alternate font) command. The font number can be one of the resident font
numbers or the number of a nonresident font defined by LDFC (load font character)
commands.
A scalable font can also be assigned to an alternate number when given a temporary font
number in advance. See the SFNT (set font) command page.
In some emulation modes, default assignments are given to low alternate numbers so that
SETF commands can be embedded for some word processing software. See Emulation
of the Technical Reference manual.
File
!R! RES;
SFNT ’Helvetica’, 10, 2000;
SFNT ’Helvetica-BdOb’, 10, 2001;
SETF 1, 2000;
SETF 2, 2001;
MCRO BIBLIO;
ALTF 1; TEXT %1, E; TEXT " ", E;
ALTF 2; TEXT %2, E; TEXT " ", E;
ALTF 1; TEXT %3, N;
ENDM;
ALTF 1; TEXT ’BIBLIOGRAPHY’,N,U;
TEXT,N;
CALL BIBLIO, "Engelberger, Joseph L., ",
"Robotics in Practice,", "Kogan Page";
CALL BIBLIO, "Cohen, J.,",
"Human Robots in Myth and Science,", "Allen and Irwin";
CALL BIBLIO, "McCorduck, Pamela,",
"Machines Who Think,", "W. H. Freeman and Company";
CALL BIBLIO, "Asimov, Isaac,",
"I, Robot,", "Doubleday & Co.";
EXIT;