Re: HP 39gii: CASE Syntax Message #3 Posted by Gilles Carpentier on 19 Feb 2013, 1:57 a.m., in response to message #1 by Eddie W. Shore
Hi Eddy,
The CASE command dont work. It is a bug.
I hope this to be corrected in the next ROM
You must use imbricated IF THEN ELSE
Your syntax seems (in theory) correct
CASE
IF Op==1 THEN ...; END;
IF Op==2 THEN ...; END;
IF Op==3 THEN ...; END;
END;
Note that you can use
PRINT(pi*R^2);
instead of
PRINT(string(pi*R^2));
PRINT("Area = " + pi*R^2);
is aloso correct. Not need of explicit 'string' conversion
Edited: 19 Feb 2013, 2:26 a.m.
|