Page 2 - Programs, Variables and Memory; No file system; Commands
BASIC comparison sheet ProgsVarsMem Page 2 Programs, Variables and Memory Vendor Casio Model FX-702 PB-700 PB-770 FX-750P VX-4 Z-1GR FP-200 Syntax specifics Spaces are insignificant. All keywords and variables must be entered in uppercase letters. Abbreviations N/A Some commands like P. for PRINT Li...
Page 3 - CLEAR
BASIC comparison sheet ProgsVarsMem Page 3 Programs, Variables and Memory Vendor Casio Model FX-702 PB-700 PB-770 FX-750P VX-4 Z-1GR FP-200 PB-100 PB-300 FX-700PFX-710P PB-220 FX-720P FX-730P FX-770P FX-785PFX-790P FX-795P FX-850P FX-880P PB-1000 PB-2000C/AI-1000 with BASIC ROM OM-53B Variables A-Z,...
Page 5 - Single precision only
BASIC comparison sheet ProgsVarsMem Page 5 Programs, Variables and Memory Vendor Model Variables Numeric range String variables String too long String literals Character set Lower case Arrays String arrays Array dimensions Automatic DIM Clear variables Programs, Variables and Memory Sharp PC-1500A P...
Page 6 - Memory swapping with PUT
BASIC comparison sheet ProgsVarsMem Page 6 Programs, Variables and Memory Vendor Model Syntax specifics Abbreviations Line numbers Line length Comments Program areas Edit programs AUTO, DELETE, RENUM Kill program(s) Show memory Memory allocation Internal file system (more infos on Commands page) Sho...
Page 7 - NaN
BASIC comparison sheet ProgsVarsMem Page 7 Programs, Variables and Memory Vendor Model Variables Numeric range String variables String too long String literals Character set Lower case Arrays String arrays Array dimensions Automatic DIM Clear variables Programs, Variables and Memory HP TI Tandy Radi...
Page 8 - Functions; MID is obsolete; Examples round to cents.
BASIC comparison sheet Functions Page 8 Functions Vendor Casio Model FX-702 PB-700 PB-770 FX-750P VX-4 Z-1GR FP-200 Syntax remarks Parentheses around arguments of many functions are optional. Precision of mathematical functions Default precision Same as argument. S tr in g s Concatenation string1 + ...
Page 9 - EXP x – 1
BASIC comparison sheet Functions Page 9 Functions Vendor Casio Model FX-702 PB-700 PB-770 FX-750P VX-4 Z-1GR FP-200 PB-100PB-300 FX-700P FX-710P PB-220 FX-720P FX-730P FX-770PFX-785P FX-790P FX-795P FX-850P FX-880P PB-1000 PB-2000C/AI-1000 with BASIC ROM OM-53B L o g s, p o w e rs , ro o ts LOG x LG...
Page 10 - ri
BASIC comparison sheet Functions Page 10 Functions Vendor Casio Model FX-702 PB-700 PB-770 FX-750P VX-4 Z-1GR FP-200 PB-100PB-300 FX-700P FX-710P PB-220 FX-720P FX-730P FX-770PFX-785P FX-790P FX-795P FX-850P FX-880P PB-1000 PB-2000C/AI-1000 with BASIC ROM OM-53B V a ri o u s fu n ct io n s Set time ...
Page 11 - Workaround see left
BASIC comparison sheet Functions Page 11 Functions Vendor Model Syntax remarks Precision of mathematical functions S tr in g s Concatenation Substrings Length ASCII to string String to ASCII Number to stringString to number Expression evaluation Search substring Case conversion Repeat string N u m b...
Page 14 - Numeric expressions not supported.
BASIC comparison sheet Functions Page 14 Functions Vendor Model Syntax remarks Precision of mathematical functions S tr in g s Concatenation Substrings Length ASCII to stringString to ASCII Number to stringString to number Expression evaluation Search substring Case conversion Repeat string N u m b ...
Page 15 - OPTION ANGLE
BASIC comparison sheet Functions Page 15 Functions Vendor Model L o g s, p o w e rs , ro o ts More accurate ln(x+1) Exponent part of number T ri g o n o m e tr ic s, h y p e rb o li cs sin x, cos x, tan x sec x, cosec x, cotan x Angle to x-axis sinh x cosh xcosh x Angle mode degree Angle mode radian...
Page 16 - LET
BASIC comparison sheet Functions Page 16 Functions Vendor Model V a ri o u s fu n ct io n s Set time and date Get time and date Get timer value Read memory Modify memory Get variable address Call machine language User defined function Multi line Recursion Swap Variables More functions Functions HP T...
Page 17 - ra; Targets are constant.; ti; CONT key
BASIC comparison sheet Commands Page 17 Commands Vendor Casio Model FX-702 PB-700 PB-770 FX-750P VX-4 Z-1GR FP-200 P ro g ra m f lo w Labels N/A N/A #area (0-9) PROG area (0-9) #area (0-9) #area, *Label "File" PROG area (0-9) Number or area may be an expression, even in ON ... GOTO targets. ...
Page 18 - is; with LPRINT
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-700PFX-710P PB-220 FX-720P FX-730P FX-770P FX-785PFX-790P FX-795P FX-850P FX-880P PB-1000 PB-2000C/AI-1000 with BASIC ROM OM-53B D is p la y Clear display PRT without i...
Page 19 - In; pitch
BASIC comparison sheet Commands Page 19 Commands Vendor Casio Model FX-702 PB-700 PB-770 FX-750P VX-4 Z-1GR FP-200 PB-100 PB-300 FX-700PFX-710P PB-220 FX-720P FX-730P FX-770P FX-785PFX-790P FX-795P FX-850P FX-880P PB-1000 PB-2000C/AI-1000 with BASIC ROM OM-53B S o u n d Beeper N/A N/A Frequency rang...
Page 20 - il; FOR mode
BASIC comparison sheet Commands Page 20 Commands Vendor Casio Model FX-702 PB-700 PB-770 FX-750P VX-4 Z-1GR FP-200 PB-100 PB-300 FX-700PFX-710P PB-220 FX-720P FX-730P FX-770P FX-785PFX-790P FX-795P FX-850P FX-880P PB-1000 PB-2000C/AI-1000 with BASIC ROM OM-53B P ro g ra m f il e s MERGE program line...
Page 22 - Enter key; sp
BASIC comparison sheet Commands Page 22 Commands Vendor Model D is p la y Clear display Output to display Behavior of comma PRINT ends with ; or , Default display modeContinue after PRINT Position cursor Set display delay Display formatting Reverse (light on dark) Graphics screen Query dot or patter...
Page 23 - No RAM disk or multiple areas
BASIC comparison sheet Commands Page 23 Commands Vendor Model S o u n d Beeper Frequency range In p u t Interactive data input Allowed input values and keys Read keyboard directly Some special key codes Read display contents as input DATA/READ/RESTORE P ro g ra m f il e s Tape filename syntax Other ...
Page 25 - CONT or SST key
BASIC comparison sheet Commands Page 25 Commands Vendor Model P ro g ra m f lo w Labels ON ... GOTO/GOSUB IF ... THEN ... IF ... THEN ... ELSE ... Nested IF Multiline IF ... ENDIF WHILE ... WEND REPEAT ... UNTIL SWITCH ... CASE ... ENDSWITCH Variable name on NEXT Function and position of END S u b r...
Page 26 - ENTER key
BASIC comparison sheet Commands Page 26 Commands Vendor Model D is p la y Clear display Output to display Behavior of comma PRINT ends with ; or , Default display mode Continue after PRINT Position cursor Set display delay Display formatting Reverse (light on dark) Graphics screen Query dot or patte...
Page 27 - unknown
BASIC comparison sheet Commands Page 27 Commands Vendor Model S o u n d Beeper Frequency range In p u t Interactive data input Allowed input values and keys Read keyboard directly Some special key codes Read display contents as input DATA/READ/RESTORE P ro g ra m f il e s Tape filename syntax Other ...
Page 28 - User program with CALL IO.
BASIC comparison sheet Commands Page 28 Commands Vendor Model P ro g ra m f il e s MERGE program lines Handling of duplicate line numbers Run program from storage or tape SAVE or LOAD special areas Check integrity of file Rename file Delete file Copy file List directory Format storage medium D a ta ...
Page 29 - CONT
BASIC comparison sheet Commands Page 29 Commands Vendor Model P ro g ra m f lo w Labels ON ... GOTO/GOSUB IF ... THEN ... IF ... THEN ... ELSE ... Nested IF Multiline IF ... ENDIF WHILE ... WEND REPEAT ... UNTIL SWITCH ... CASE ... ENDSWITCH Variable name on NEXT Function and position of END S u b r...
Page 30 - Use consecutive LINE commands.
BASIC comparison sheet Commands Page 30 Commands Vendor Model D is p la y Clear display Output to display Behavior of comma PRINT ends with ; or , Default display mode Continue after PRINT Position cursor Set display delay Display formatting Reverse (light on dark) Graphics screen Query dot or patte...
Page 31 - File name convention for floppy is
BASIC comparison sheet Commands Page 31 Commands Vendor Model S o u n d Beeper Frequency range In p u t Interactive data input Allowed input values and keys Read keyboard directly Some special key codes Read display contents as input DATA/READ/RESTORE P ro g ra m f il e s Tape filename syntax Other ...
Page 32 - MERGE
BASIC comparison sheet Commands Page 32 Commands Vendor Model P ro g ra m f il e s MERGE program lines Handling of duplicate line numbers Run program from storage or tape SAVE or LOAD special areas Check integrity of file Rename file Delete file Copy file List directory Format storage medium D a ta ...
Page 33 - Special commands and some remarks; Sharp display routines; next page
BASIC comparison sheet Special commands Page 33 Special commands and some remarks Casio FX-730/770/780/785/795P MODE commands Casio VX-4 Casio BASIC ROM OM-53B for PC-2000C/AI-1000 Sharp display routines Sharp PC-1260/61/62 graphics Sharp PC-E220/G8xx See next page . PEEK/POKE only work in RAM: &...