
BASIC comparison sheet Commands Page 18
Commands
Vendor Casio
Model FX-702 PB-700 PB-770 FX-750P VX-4 Z-1GR FP-200
PB-100
PB-300
FX-700P
FX-710P
PB-220
FX-720P
FX-730P
FX-770P
FX-785P
FX-790P
FX-795P
FX-850P
FX-880P
PB-1000
PB-2000C/AI-1000 with BASIC
ROM OM-53B
Display
Clear display PRT without items PRINT without items CLS
Output to display PRT, DMS var PRINT
Behavior of comma Clear display before output, pause New line Pause and new line New line Tabulate (12 chars).
PRINT ends with ; or , Allowed Allowed. ";" between items is optional.
Default display mode Line by line
Continuous output
Line by line
Continuous output
Continue after PRINT CONT key EXE key ENTER/RET key EXE key
Position cursor PRT CSR n PRINT CSR n
PRINT TAB(n) PRINT TAB(n)
LOCATE x,y LOCATE x LOCATE x,y
Set display delay N/A N/A
Display formatting
N/A
Reverse (light on dark) N/A PRINT REV;...;NORM;... N/A
Graphics screen
N/A
160x32
N/A
192x32 159x63 with arbitrary scaling.
Query dot or pattern POINT(x,y)
Commands not implemented
POINT(x,y)
Set/reset dot DRAW/DRAWC(x,y) DRAW/DRAWC(x,y)
Draw (filled) rectangle
Draw line or polygon
Graphical patterns
N/A
N/A
More graphics commands
N/A
N/A
(x,y) outside screen area Error Error
Printer
Printer interface and type FP-10 (matrix) FA-3 with FP-12S (matrix) FA-20 (matrix) Centronics.
Printer output LIST/PRT in MODE 7 LIST/PRINT in MODE 7 LLIST/LPRINT LLIST/LPRINT or redirected LIST/PRINT LLIST/LPRINT
Redirect display to printer MODE 7/8 turn printer on/off N/A PRINT ON/OFF MODE 7/8 turn printer on/off N/A
Set width for printer output N/A
Set Printer to text or graphics mode
N/A N/A
See PB-700
N/A
Printer commands in graphics mode
N/A LPRINT escape sequence
TAB(n) only
with LPRINT
LOCATE x,y
Virtual screen
WAIT n
WAIT 999 (off)
Unit is 0.05s.
SET Fd, SET Ed, SET N
(re)set display precision for numbers.
PRINT USING "&&&&";A$;B$;...
PRINT USING "###.##^";X,Y
Works for current line only. Only one format
per format string allowed.
SET Fd, SET Ed, SET N
(re)set display precision
PRINT USING"& &#,###.##";A$;X
Works on current PRINT/LPRINT statement only. Mixed formats are allowed.
"!" outputs single char, "@" formats a string with its exact length.
"##.##^^^^" sets scientific notation.
"+" or "-" can be prefix or postfix, "$$",
"**" and "**$" pad numbers to the left.
DRAW[C](x1,y1)-
(x2,y2)-...-(x1,y1)
Multiple points,
no filling
LINE(..)-(..),
mode,BF
mode=0: clear
mode=1: draw
F fills
Use DRAW,
no filling.
QUAD(..)-(..)
QUADC(..)-(..)
No filling.
DRAW[C](x1,y1)-(x2,y2)-...-(x1,y1)
Multiple points
DEFCHR$(c)="hex(12)"
Defines char c ≥ 252
(c ≥ 240 on PB-1000).
CIRCLE(x,y),
r,mode
PAINT(x,y)
INIT(X0,Y0),DX,DY
sets origin and number of pixels for a unit
of 1.
FA-10 or FA-4 with FP-100
(pen plotter)
FP-100 (pen plotter) connected through FA-6
(except PB-1000, which uses FA-7 or MD-100)
LPRINT CHR$(28);CHR$(x)
x=46: text, x=37: graphics
(FA-10 plotter)
Use LPRINT to send plotter
commands.
Additional printer commands in text
mode
Comentários a estes Manuais