MPC2000 Reference Manual [JAPANESE] [ENGLISH]
yReservedVariablesz   yFloatingPointz
yUSEz
FP

FP(0)=1000
STR(FP(100,1)
yFORMATz yFUNCTIONz
FP(n)
FP(m,n)

Floating point variable array
yEXPLANATIONz
There are FP(0) `FP(7) as the double precision data array.
FLOAT FP(1)=1000 store 1000 into FP(1) as double precision.
When storing Exp expression number into FP(n),
You should use VAL() function in the FLOAT command as follows.

a$="Mx+9.7042e+002 "
FP(2)=val(a$)

Using a FP(n) as an Integer Acoding FP(1,n) instead of FP(n).
When need m*FP(n), place m instead of 1.( 1<=m<=10000)
ex: FP(m,n)

Print command shows the real value of FP(n)




#a$="Mx+9.7042e+002 My+6.3210e+002"
#fp(2)=val(a$) fp(3)=val(0)
#pr fp(2) fp(3)
9.704200E+02 6.321000E+02
#
[LASTMODIFY]2014-10-02 10:56:07 [CREATEDATE]2009-09-09 10:42:57
MPC2000 Reference Manual -R5.11-   (C)2007 ACCEL Corp. all right reserved.