|Re: HP 39gii Tutorials Parts 1 and 2 up|
Message #2 Posted by Gilles Carpentier on 10 Mar 2013, 4:49 a.m.,
in response to message #1 by Eddie W. Shore
Well done !
About PRINT command, as far I know it is not explain in the user guide, but you can use PRINT without any parameter to clear the screen. There is no CLS or CLEAR command, PRINT do the job
Another trick not explain is that you can easily create new global variables with just the syntax (in a program):
EXPORT NewGlobal ;
create a new global list in addition of the existing L0..L9
There is no need of 'string' command in such things as :
PRINT("THE AREA IS " + string(Pi*Rē) + ".");
PRINT("THE AREA IS " + Pi*Rē + ".");
To evaluate in expresion in a string, the command is expr
expr("2+3") returns 5. If the variable X has the value 90, then expr("X+10") returns 100.
I also notice that the 39GII knows some physics contants (Math - PHYS ) but I don't know if wecan use them in program. It would simplify your program KEPLER (with a powerfull unit management in addition)
Edited: 10 Mar 2013, 5:19 a.m.