Casio Z-1GR User Manual Page 23

  • Download
  • Add to my manuals
  • Print
  • Page
    / 36
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 22
BASIC comparison sheet Commands Page 23
Commands
Vendor
Model
Sound
Beeper
Frequency range
Input
Interactive data input
Allowed input values and keys
Read keyboard directly
Some special key codes
Read display contents as input
DATA/READ/RESTORE
Program files
Tape filename syntax
Other storage devices
Save program to tape in binary
Save multiple programs
Set (password) protection
Save program to other device
Save in ASCII format
Load binary program from tape
Load multiple programs
Load binary program from storage
Load ASCII program
Load "foreign" program
Behavior of comma or semicolon
after prompt
Commands
Sharp
PC-1500A PC-1403 PC-1360 PC-1280 PC-1475 PC-G850
PC-1210
PC-1211
PC-1212
PC-1245
PC-1246
PC-1247
PC-1248
PC-1251
PC-1401
PC-1421
PC-1260
PC-1261
PC-1262
PC-1350
PC-2500
PC-E220
PC-G820
PC-E500
PC-E500S
BEEP count
Only a single pitch available. PC-1246 is mute.
Comma forces prompt to be cleared on first key press, semicolon leaves prompt in display. "?" is only displayed if no prompt is specified or after input errors.
N/A
A$=INKEY$, returns "" if no key pressed.
N/A
N/A
See right N/A
"name" (7 chars). Name can be omitted and defaults to unnamed or first file found.
N/A N/A
N/A No RAM disk or multiple areas N/A
N/A
No file system
See PC-1360
N/A
N/A
N/A
SAVE "name"
N/A No RAM disk or multiple areas N/A
N/A
See PC-1360
N/A
N/A
BEEP count,frq,time or ON/OFF
Duration depends on time and frq.
BEEP count,frq,time
Duration depends on time and frq.
Frequency 1.3E6/(166+22*frq)
0: 7kHz, 129: 440Hz, 255: 230Hz
Same as PC-E500
My PC-1280 seems to have a speed up installed and beeps higher.
Syntax like PC-1500.
Buzzer is not connected on G820
and G850 models.
Frequency = 256000/(90+4*frq)
0: 2844,4Hz, 123: 440Hz, 255: 230,6Hz
INPUT"prompt",variable(s), "prompt";variables(s):more statements INPUT"prompt",variable(s), "prompt";variables(s)
Numeric expression or unquoted string. Values are separated by ENTER.
Empty input lines leave numbers and strings unchanged and skip the rest of the program line. INPUT acts as a conditional statement!
Numeric expression or unquoted string. Values are separated by ENTER.
Empty input lines leave numbers and strings unchanged.
CL/CLS/C-CE clears input field or error condition. DOWN single steps. UP suspends execution. Shift-CA stops program. BRK/BREAK interrupt programs (can be resumed with CONT).
On some machines INPUT has some display problems with multiple prompts or in error situations if the prompt is not positioned in first column.
A$=INKEY$, returns code repeatedly
as long as key is down.
A$=INPUT$(count) returns exactly
count key presses.
ENTER=13, UP/DOWN=11/10,
LEFT/RIGHT=8/12, F-Keys=17..22,
SHIFT=1, SML=2, no combined codes.
ENTER and other special keys do not return codes.
PC-2500 only: ENTER=13, UP/DOWN=30/31, LEFT/RIGHT=29/28,
SHIFT-LEFT/RIGHT=2/6, DEL=127, BS=8, INS=18, CLS=12.
SHIFT and CAPS do work normally.
ENTER=13, UP/DOWN=4/5, LEFT/RIGHT=15/14, 2nd/SHIFT=16, no combined codes.
Most special keys return codes below 32 or above 127.
See left for INKEY$. INPUT$ returns
CHR$(00)+code for some special keys
(see manual).
AREAD var
Must be first statement directly after a label that can be reached with the DEF key. Program must be started with DEF+label, ignored otherwise.
Data elements are quoted strings, string expressions or numeric expressions.
The line number in RESTORE may be an expression.
Data elements are quoted or unquoted strings or numeric constants.
Restore target may be *label.
"name" (16 chars).
-1 can be appended to the command
name to specify secondary remote
jack. Name can be omitted.
"name" (8 chars) with CSAVE,
CLOAD, etc.
"CAS:name" with OPEN.
Name part can be omitted and
defaults to unnamed or first file
found
"name" (8 chars) with
CSAVE, CLOAD, etc.
"CAS:name" with
SAVE, LOAD, MERGE, CHAIN, OPEN.
Name can be omitted and defaults to
unnamed or first file found
Pocket
disk:
"X:name8
.ext"
Serial I/O: "parameters"
PC-1360 only:
Pocket disk: "X:name8.ext"
RAM/Pocket disk:
"d:name8.ext"
d=F/X
Serial I/O:
"parameters"
RAM/Pocket disk:
"d:name8.ext" d=F/X
Serial I/O: "COM:" (not with
LOAD/SAVE, OPEN only)
RAM disk: "name8.ext" (not with
OPEN)
Serial I/O: "COM:parameters"
RAM/Pocket disk: "d:name8.ext"
d=E/F/X
Name defaults to serial I/O if omitted.
CSAVE "Name"
CSAVE "name"
Format is comaptible.
CSAVE "name"
CSAVE@ "name" saves in older format.
CSAVE "name" CSAVE "name"
COPY source TO destination with wildcards
from RAM disk to pocket disk.
COPY source TO destination with
wildcards from RAM disk to pocket disk.
CSAVE "Name","Password". Saving is
disabled if password is set in memory.
CSAVE "Name","Password". Saving is disabled if password is set in memory. Compatibility see CSAVE.
SET "file pattern","P"
Makes file(s) readonly. " " removes the protection.
SET "file pattern","P"/" "
Sets/removes write protection.
Pocket or RAM disk: SAVE "d:name"
Serial I/O (not PC-1280): OPEN followed by SAVE.
SAVE "name"
RAM disk only.
SAVE "d:name",A (Pocket disk only)
SAVE to serial I/O (not PC-1280) is always in ASCII
Use TEXT menu. Only way to
save to serial I/O.
SAVE "name",A
SAVE to serial I/O
CLOAD "name"
CLOAD "name"
Format is compatible: Newer models can read older tapes.
CLOAD "name" CLOAD "name"
COPY source TO destination with wildcards
from pocket disk to RAM disk.
COPY source TO destination with
wildcards from pocket disk to RAM disk.
Pocket or RAM disk: LOAD "name",R
R starts program. Format is detected.
Serial I/O (not PC-1280): OPEN followed by LOAD.
LOAD "name"
RAM disk only.
LOAD "name",R
R starts program.
Format is detected.
Use BAS2IMG on PC.
Link (PC-1500)
Use BAS2IMG on PC.
Link (PC-12xx/13xx/14xx)
Use TEXT menu. Only way to
read from serial I/O.
Use ASCII mode,
serial I/O
or BAS2IMG on PC.
Use ASCII mode
or BAS2IMG on PC.
Use ASCII mode,
serial I/O
or BAS2IMG on PC.
Use TEXT menu,
ASCII mode, serial I/O
CLOAD@ "name"
CSAVE@ "name" saves in older format.
Page view 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 35 36

Comments to this Manuals

No comments