Language Summary

for Casio Graphic Calculators (6300/7000/7700/9700 & compatibles)

Here are examples of usage of some of most common commands: (see keypress table for where to find these commands.)

"A MESSAGE"	- displays a message
2->A		- stores the value 2 in the variable A
?->A		- prompts user for input, stores it in variable A
Lbl 1		- labels a place in the program can use Lbl 0-9, A-Z
				(on early models only Lbl 0-9)
Goto 1		- jumps to Lbl 1
Dsz A		- decrements A by 1, skips next statement if A now equals zero
Isz A		- increases A by 1, skips next statement if A now equals zero
A=1=>"HI"	- if A equals 1 then display "HI"
1234_		- pause to display number
		    (also pauses for text, graphs, lines, points, matrices).
Scrolling text effects can be acheived by not using the display symbol. However this only works for text : a display symbol must be used for numbers to appear at all.
Mcl		- puts zero into all variables
Prog 3		- jumps to Prog 3 and returns when Prog 3 ends
Defm 5		- allows extended variable memory to be used.
			(Z[1] up to Z[5] in this case.)
Defm 0		- disables extended memory, freeing up memory for other uses

Graph Y=		- graphs a function of X ( e.g. Graph Y=sin X)
Range 1,2,0,1,2,0	- set viewing parameters for graphs
Cls		- clears the graph screen (so does the Range command)
Plot 2,3		- plot a point at x=2, y=3
Line		- draw a line between the last two points plotted
5!		- factorial of 5
4 nPr 3		- permutations of  3 elements from 4  (not on 7000 models)
4 nCr 3		- combinations of 3 elements from 4 (not on 7000 models)
Ran#		- produce a random number between 0 and 1
P( Q( R( t(	- normal distribution functions (not on models before 7700)
Abs  -2		- absolute value of the number -2
Int  -2.6	- integer part rounded towards zero (this example gives -2)
Intg -2.6	- integer part rounded towards -inf (this example gives -3)
                               (Intg is not available on originals or 7700G)
Frac  5.7	- fractional part of decimal number (this example gives 0.7)
Rnd		- changes internal accuracy to same as defined by FIX or SCI
Pol(X,Y)		- converts rectangular coords to polar,
				stores result in variables I and J
Rec(r, theta)	- converts polar coords to rectangular,
				stores result in variables I and J

Matrix Commands

(for 7700GE models and later)
Matrices Mat A ~ Mat Z can be used.
Results of calculations are stored in Mat Ans.

[[1,2,3][4,5,6]]  - a matrix with 2 rows and three columns,
				first row is [1,2,3], second is [4,5,6]
[[1]]->Mat A	- a one by one matrix is put into matrix A
Mat A+Mat B	- matrix A plus matrix B
Mat A ^-1	- inverse of matrix A (use reciprocal symbol for ^-1)
Det Mat A	- determinant of matrix A
Mat Ans		- the result of the last matrix calculation
Trn Mat A	- transpose of matrix A
Mat A[4,7]	- the entry in the 4th row and 7th column of matrix A
Swap A,2,3	- swap the 2nd and 3rd rows of matrix A
*Row+ 5,A,2,3	- add five times row 2 to row 3 in matrix A

Initialisation And Number Formats

Before you run a program you may find that the calculator is set up in some mode that you don't want because of some previous calculations or programming. In particular you may wish to change the number format. The following is a list of examples:
Fix 5		- displays numbers with 5 decimal places. (can use 0-9)
Sci 5		- displays in scientific notation with 5 significant digits
Norm		- switches between norm1 and norm2,
		- norm1 shows small decimals in sci notation 0.001 as 1 E-03
		- norm2 means no special formatting
Eng		- switches  SI units, on or off.
To make sure everything is as standard as possible before running a program you may wish to put it in COMP mode, then press AC/On and then run the following:
	Scl
	Mcl
	Cls
	Norm
Which will clear stats memory, clear value memories, clear the graph screen and leave no special number format.
(c) Roy F.A. Maclean 1997, Updated 5th June 1999
rfamgm at gmail
http://www.spiderpixel.co.uk/caspro