Skip to main content

Casio FX-870P

casio-FX-879P.jpg

Manual (English-ish): CasioVX-4-Manual-Peter-Rost.pdf

Programming in C

Navigation

S (red) + F.COM (blue) Enter C programming mode
S
Source - edit code
R
Run - compile and run code
Arrow keys
Select program
(after program run) S + M or type edit
Edit code

Types

char
8 bit
short
16 bit
int
16 bit
long
32 bit
float
32 bit
double
64 bit

Note: structs or unions are not supported.

Flow control

if (C)
  expr;

if (C) {
  expr;
  expr;
}

if (C) {
  expr;
} else {
  expr;
}
while (C) {
  expr;
}

do {
  expr;
} while(C);

for (A; B; C) {
  expr;
}
goto LABEL;

LABEL;

Note: switch/case are not supported.

Functions

Entry function:

main() {
  expr;
}