Jump to content



Photo
- - - - -

Clear all graph formulas


  • Please log in to reply
3 replies to this topic

#1 Tritonio

Tritonio

    Casio Addict

  • Members
  • PipPipPip
  • 77 posts
  • Gender:Male

  • Calculators:
    fx-5800P, fx-991ES+, fx-991EX, HP Prime, fx-9750GIII, fx-3650P II

Posted 29 July 2021 - 01:28 PM

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.

#2 Hlib2

Hlib2

    Casio Freak

  • Members
  • PipPipPipPip
  • 142 posts
  • Gender:Male
  • Location:Ukraine
  • Interests:industrial electronics,
    graphing calculators

  • Calculators:
    fx-9860GII-2
    graph-100+
    fx-991DE_X
    ti-89_Titanium
    ti-voyage200
    ti-84+SE

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 Tritonio

Tritonio

    Casio Addict

  • Members
  • PipPipPip
  • 77 posts
  • Gender:Male

  • Calculators:
    fx-5800P, fx-991ES+, fx-991EX, HP Prime, fx-9750GIII, fx-3650P II

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!

#4 Hlib2

Hlib2

    Casio Freak

  • Members
  • PipPipPipPip
  • 142 posts
  • Gender:Male
  • Location:Ukraine
  • Interests:industrial electronics,
    graphing calculators

  • Calculators:
    fx-9860GII-2
    graph-100+
    fx-991DE_X
    ti-89_Titanium
    ti-voyage200
    ti-84+SE

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:
... 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 Rtn
Each 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