Jump to content



Photo
- - - - -

[Question] About nest in fx-5800P

fx-5800P nest

Best Answer sentaro21 , 18 June 2019 - 01:57 AM


// Program "MAIN"
"MAIN"
Prog "SUB1"
"END"


// Program "SUB1"
"SUB1"
Prog "SUB2"
 

// Program "SUB2"
"SUB2"
Executing "MAIN" results in the following.
MAIN  // running "MAIN", nest is 0
SUB1  // running "SUB1", nset is 1
SUB2  // running "SUB2" from "SUB1", nest is 2
END   // running "MAIN", nset is 0

The maximum nest is 10 in fx-5800P.
 

 

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 17 June 2019 - 03:33 AM

Hi all,

I am confused about the nest. How does it work? How to count the number of nest I used? When I use the Prog command, does the main program also count the number of nest in subprogram as its nest used?

Thanks a lot!
CalcLoverHK

#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 18 June 2019 - 01:57 AM   Best Answer


// Program "MAIN"
"MAIN"
Prog "SUB1"
"END"


// Program "SUB1"
"SUB1"
Prog "SUB2"
 

// Program "SUB2"
"SUB2"
Executing "MAIN" results in the following.
MAIN  // running "MAIN", nest is 0
SUB1  // running "SUB1", nset is 1
SUB2  // running "SUB2" from "SUB1", nest is 2
END   // running "MAIN", nset is 0

The maximum nest is 10 in fx-5800P.
 

 


  • 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 18 June 2019 - 02:01 AM

Thanks a lot!



Also tagged with one or more of these keywords: fx-5800P, nest

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users