back to Table of Contents
Command/Function Quick Reference Table
This is a consolidated quick-reference for all commands, statements, and functions in Casio JIS Standard BASIC. Commands are organized by category. Click any command name to see its full documentation.
Manual Commands
These commands are entered directly in the calculator’s command mode (not within a program).
| Command |
Description |
Model |
| LIST |
Display program listing on screen |
All Models |
| LLIST |
Print program listing to printer |
All Models |
| RENUM |
Renumber program lines |
All Models |
| NEW |
Delete program and clear variables |
All Models |
| PASS |
Set or clear password protection |
All Models |
| RUN |
Execute a program |
All Models |
| SAVE |
Save program to cassette tape |
All Models |
| LOAD |
Load program from cassette tape |
All Models |
| MERGE |
Merge program from cassette tape |
All Models |
| VERIFY |
Verify saved program against memory |
[FX-850P/880P] |
| EDIT |
Edit a program line |
All Models |
| DELETE |
Delete a range of program lines |
All Models |
| SYSTEM |
Return to system mode |
All Models |
| CONT |
Continue execution after STOP |
All Models |
| LIST# |
List program to sequential file |
All Models |
| SAVE# |
Save program to data file |
All Models |
| LOAD# |
Load program from data file |
[FX-850P/880P] |
| NEW# |
Delete a data file |
All Models |
| FILES |
Display list of data files |
[FX-870P/VX-4] |
| FORMAT |
Format a floppy disk |
[FX-870P/VX-4] |
Program Commands
These commands and statements are used within BASIC programs.
| Command |
Description |
Model |
| ANGLE |
Set angle mode (degrees/radians/gradients) |
All Models |
| BEEP |
Sound the buzzer |
All Models |
| CLEAR |
Clear all variables and set string area size |
All Models |
| DIM |
Declare array variables |
All Models |
| ERASE |
Delete array variables from memory |
All Models |
| END |
Terminate program execution |
All Models |
| DATA |
Define inline data for READ |
All Models |
| READ |
Read values from DATA statements |
All Models |
| RESTORE |
Reset DATA pointer to a specified line |
All Models |
| FOR~TO~STEP~NEXT |
Counted loop |
All Models |
| GOTO |
Unconditional branch to a line number |
All Models |
| GOSUB |
Call a subroutine |
All Models |
| RETURN |
Return from subroutine |
All Models |
| IF~THEN~ELSE |
Conditional execution |
All Models |
| INPUT |
Read input from keyboard |
All Models |
| PRINT |
Display output on screen |
All Models |
| LPRINT |
Print output to printer |
All Models |
| PRINT USING |
Formatted output with template |
[FX-870P/VX-4] |
| LET |
Assign a value to a variable |
All Models |
| ON GOTO |
Computed branch |
All Models |
| ON GOSUB |
Computed subroutine call |
All Models |
| REM |
Program comment (remark) |
All Models |
| SET |
Set system parameters |
All Models |
| STOP |
Pause program execution |
All Models |
| CLS |
Clear the display |
All Models |
| DEFSEG |
Set memory segment for PEEK/POKE |
All Models |
| POKE |
Write a byte to memory |
All Models |
| LOCATE |
Position cursor on display |
All Models |
| TRON |
Enable trace mode |
All Models |
| TROFF |
Disable trace mode |
All Models |
| VARLIST |
Display list of defined variables |
All Models |
| ON ERROR GOTO |
Set error handler |
All Models |
| RESUME |
Resume execution after error handling |
All Models |
| OPEN |
Open a data file |
All Models |
| CLOSE |
Close a data file |
All Models |
| PRINT# |
Write data to a file |
All Models |
| INPUT# |
Read data from a file |
All Models |
| LINE INPUT# |
Read a full line from a file |
[FX-870P/VX-4] |
| READ# |
Read record from random-access file |
All Models |
| WRITE# |
Write record to random-access file |
All Models |
| RESTORE# |
Set file pointer position |
All Models |
| DEFCHR$ |
Define a custom character |
All Models |
| CHAIN |
Load and run another program |
[FX-870P/VX-4] |
| STAT |
Enter statistical data |
[FX-870P/VX-4] |
| STAT CLEAR |
Clear statistical data |
[FX-870P/VX-4] |
| MODE |
Set calculator mode |
[FX-870P/VX-4] |
| KILL |
Delete a file from disk |
[FX-870P/VX-4] |
| NAME |
Rename a file on disk |
[FX-870P/VX-4] |
| INPUT@ |
Input with cursor position |
[Undocumented] |
| CALC$ |
Evaluate expression string |
[Undocumented] |
| CALCJMP |
Evaluate and branch |
[Undocumented] |
Numeric Functions
| Function |
Description |
Model |
| SIN |
Sine |
All Models |
| COS |
Cosine |
All Models |
| TAN |
Tangent |
All Models |
| ASN |
Arc sine (inverse sine) |
All Models |
| ACS |
Arc cosine (inverse cosine) |
All Models |
| ATN |
Arc tangent (inverse tangent) |
All Models |
| HYP SIN |
Hyperbolic sine |
All Models |
| HYP COS |
Hyperbolic cosine |
All Models |
| HYP TAN |
Hyperbolic tangent |
All Models |
| HYP ASN |
Hyperbolic arc sine |
All Models |
| HYP ACS |
Hyperbolic arc cosine |
All Models |
| HYP ATN |
Hyperbolic arc tangent |
All Models |
| SQR |
Square root |
All Models |
| CUR |
Cube root |
All Models |
| ^ |
Exponentiation |
All Models |
| EXP |
Natural exponential (e^x) |
All Models |
| LOG |
Common logarithm (base 10) |
All Models |
| LN |
Natural logarithm (base e) |
All Models |
| ABS |
Absolute value |
All Models |
| INT |
Integer part (floor) |
All Models |
| FIX |
Truncate to integer (toward zero) |
All Models |
| FRAC |
Fractional part |
All Models |
| SGN |
Sign function (-1, 0, or 1) |
All Models |
| ROUND |
Round to specified decimal places |
All Models |
| RAN# |
Pseudo-random number (0 to 1) |
All Models |
| PI |
Value of pi (3.14159265359) |
All Models |
| FACT |
Factorial |
All Models |
| NPR |
Permutations |
All Models |
| NCR |
Combinations |
All Models |
| POL |
Rectangular to polar conversion |
All Models |
| REC |
Polar to rectangular conversion |
All Models |
| DEG |
Convert DMS to decimal degrees |
All Models |
| DEGR |
Convert radians to degrees |
All Models |
| DMS |
Convert decimal degrees to DMS |
All Models |
| FRE |
Free memory in bytes |
All Models |
| PEEK |
Read a byte from memory |
All Models |
| DSKF |
Free disk space in bytes |
[FX-870P/VX-4] |
Statistical Functions
All statistical functions require [FX-870P/VX-4] or later.
| Function |
Description |
Model |
| CNT |
Number of data points |
[FX-870P/VX-4] |
| SUMX |
Sum of x values |
[FX-870P/VX-4] |
| SUMY |
Sum of y values |
[FX-870P/VX-4] |
| SUMX2 |
Sum of x-squared values |
[FX-870P/VX-4] |
| SUMY2 |
Sum of y-squared values |
[FX-870P/VX-4] |
| SUMXY |
Sum of x*y products |
[FX-870P/VX-4] |
| MEANX |
Mean of x values |
[FX-870P/VX-4] |
| MEANY |
Mean of y values |
[FX-870P/VX-4] |
| SDX |
Sample standard deviation of x |
[FX-870P/VX-4] |
| SDY |
Sample standard deviation of y |
[FX-870P/VX-4] |
| SDXN |
Population standard deviation of x |
[FX-870P/VX-4] |
| SDYN |
Population standard deviation of y |
[FX-870P/VX-4] |
| LRA |
Linear regression intercept |
[FX-870P/VX-4] |
| LRB |
Linear regression slope |
[FX-870P/VX-4] |
| COR |
Correlation coefficient |
[FX-870P/VX-4] |
| EOX |
Estimated x value from y |
[FX-870P/VX-4] |
| EOY |
Estimated y value from x |
[FX-870P/VX-4] |
Character/String Functions
| Function |
Description |
Model |
| CHR$ |
Return character for a given code |
All Models |
| ASC |
Return character code for a character |
All Models |
| STR$ |
Convert number to string |
All Models |
| VAL |
Convert string to number |
All Models |
| VALF |
Convert string expression to number |
All Models |
| MID$ |
Extract substring from middle |
All Models |
| RIGHT$ |
Extract substring from right |
All Models |
| LEFT$ |
Extract substring from left |
All Models |
| LEN |
Return length of string |
All Models |
| HEX$ |
Convert number to hexadecimal string |
All Models |
| &H |
Hexadecimal number prefix |
All Models |
| DMS$ |
Convert decimal degrees to DMS string |
All Models |
Other Functions
| Function |
Description |
Model |
| ERL |
Line number where last error occurred |
All Models |
| ERR |
Error code of last error |
All Models |
| TAB |
Move cursor to column position in PRINT |
All Models |
| INPUT$ |
Read specified number of characters |
All Models |
| INKEY$ |
Read single keypress (non-blocking) |
All Models |
| EOF |
Test for end of file |
All Models |
Logical and Arithmetic Operations
| Operator |
Description |
Model |
| NOT |
Bitwise/logical NOT |
All Models |
| AND |
Bitwise/logical AND |
All Models |
| OR |
Bitwise/logical OR |
All Models |
| XOR |
Bitwise/logical exclusive OR |
All Models |
| \ (backslash) |
Integer division |
All Models |
| MOD |
Modulo (remainder) |
All Models |
back to Table of Contents