Jump to content



Photo
- - - - -

[Question] Will the Prog command break the loop?

Prog

Best Answer sentaro21 , 06 August 2019 - 11:12 AM

There is no problem. :)
"breaks" does not mean the stop of the loop of main-program.
After executing the sub-program, it returns to the main-program and continues loop.
Go to the full post


  • Please log in to reply
2 replies to this topic

#1 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 264 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:FPS games, C.Basic

  • Calculators:
    fx-50FHII (2019/1/30)
    fx-991ESPLUS-2 (2023/12/22)
    fx-3650PII (2022/1/15)
    fx-9750GIII (2020/6/13)
    fx-9860G Slim (2024/2/27)
    fx-9860GIISD (2023/3/27)
    fx-9860GIISD-2 (2024/2/5)
    fx-CG20CN (2023/2/12)
    fx-CG50 (2023/10/23)

Posted 06 August 2019 - 07:28 AM

Hi,

 

I read the programming part in the manual of fx-9860GII and I saw one of the description of Prog command:

 

Even when this command is located inside of a loop, its execution immediately breaks the loop and launches the subroutine.

 

And I review fx-5800P manual at once and no information about this thing is found. If this is true, then my game program needs to be rewritten again. This is horrible. How do I fix it?

 

Regards,

CalcLoverHK


Edited by CalcLoverHK, 06 August 2019 - 07:31 AM.


#2 sentaro21

sentaro21

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 369 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860G
    fx-9860GII
    fx-9860GII-2
    fx-9860GII-2 SD
    fx-CG10
    fx-CG20
    fx-CG50
    HP-Prime
    HP 50G
    TI-Nspire CX CAS
    TI-84+CE

Posted 06 August 2019 - 11:12 AM   Best Answer

There is no problem. :)
"breaks" does not mean the stop of the loop of main-program.
After executing the sub-program, it returns to the main-program and continues loop.

  • CalcLoverHK likes this

#3 CalcLoverHK

CalcLoverHK

    Casio Freak

  • Members
  • PipPipPipPip
  • 264 posts
  • Gender:Male
  • Location:Hong Kong
  • Interests:FPS games, C.Basic

  • Calculators:
    fx-50FHII (2019/1/30)
    fx-991ESPLUS-2 (2023/12/22)
    fx-3650PII (2022/1/15)
    fx-9750GIII (2020/6/13)
    fx-9860G Slim (2024/2/27)
    fx-9860GIISD (2023/3/27)
    fx-9860GIISD-2 (2024/2/5)
    fx-CG20CN (2023/2/12)
    fx-CG50 (2023/10/23)

Posted 07 August 2019 - 02:44 AM

Thanks!


Edited by CalcLoverHK, 07 August 2019 - 02:45 AM.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users