Hi all.
Is there a way to clear all formulas from the graph mode using a Casio Basic program? I don't want to have to assign am empty string to every Y1, Y2, Y3 like the manual shows.
I'm on a 9750GIII.
Cheers.
Clear all graph formulas
Started by
Tritonio
, Jul 29 2021 01:28 PM
3 replies to this topic
#1
Posted 29 July 2021 - 01:28 PM
#2
Posted 31 July 2021 - 10:10 AM
Create an empty file with the necessary settings in manual mode, for example, GMEM_5. Now in your program, you can completely clear the active list of graphical functions with the RclGMEM_5 command.
#3
Posted 02 August 2021 - 04:34 PM
Not a bad, I'll use that. I still wish there was a nice ClearGraphFuncs command though :-)
Thanks!
Thanks!
#4
Posted 03 August 2021 - 05:22 PM
Yes, there is no CleatGraphFuncs operator in CASIO. CASIO is missing some important features. Nevertheless, I found a way to eliminate this a long time ago.
Universal subroutine:
The execution speed for Prog and If Then Else in CASIO is very fast, so it practically does not affect the speed of the program.
Edit: typo in the program text (Ans instead of A).
Universal subroutine:
... 5 : Prog "MySubs1" ... << MySubs1>> If Ans<4:Then If Ans<2:Then If Ans=1:Then 1➝A // SUB1: ... Else 0➝A // SUB0: ""➝Y1:""➝Y2: ... ""➝Y20: ... etc. IfEnd Else If Ans=2:Then 2➝A // SUB2: ... Else 3➝A // SUB3 ... IfEnd IfEnd Else If Ans<6:Then If Ans=4:Then 4➝A // SUB4: ... Else 5➝A // SUB5: ... IfEnd Else If Ans=6 :Then 6➝A // SUB6: ... Else 7➝A // SUB7: ... IfEnd:IfEnd:IfEnd Rtn // if you need RtnEach subroutine contains up to 8 blocks. Therefore, in a complex program, you have only one file for subroutines. This template can be expanded to any number of subroutines required for a particular program.
The execution speed for Prog and If Then Else in CASIO is very fast, so it practically does not affect the speed of the program.
Edit: typo in the program text (Ans instead of A).
Edited by Hlib2, 08 August 2021 - 12:08 PM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users