Jump to content



Photo
- - - - -

Prog; Return;break;stop


  • Please log in to reply
2 replies to this topic

#1 rssantiago

rssantiago

    Newbie

  • Members
  • Pip
  • 3 posts

  • Calculators:
    FX 1.0
    FX 7400
    FX-82ES
    FX-9680G-SD

Posted 29 September 2005 - 06:09 PM

I have an AFX 1.0.

<span class=Shift' /> <span class=VARS' /> <span class=F6' /> <span class=F4' />
Does anybody know what the commands Stop and Break are used for?
:banghead:

Prog ? call a program
Return ? ?returns from a sub routine (function similar in C)

Thanks

#2 Guest_Sergei Frolov_*

Guest_Sergei Frolov_*
  • Guests

Posted 29 September 2005 - 06:34 PM

Stop - halt program execution
Break - break loop execution, uses inside a loop (for--next, while--lpwhile, etc).

Program example 1:
1
2
3
Stop
4
5
6

Program example 2:
1->A
For 1->I to 100
A+1->A
if A>50
Then Break
IfEnd
Next
A


#3 rssantiago

rssantiago

    Newbie

  • Members
  • Pip
  • 3 posts

  • Calculators:
    FX 1.0
    FX 7400
    FX-82ES
    FX-9680G-SD

Posted 30 September 2005 - 05:26 PM

Thanks, for the info.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users