Jump to content



Photo
- - - - -

Storing Variables In Loops


  • Please log in to reply
1 reply to this topic

#1 Dormant

Dormant

    Newbie

  • Members
  • Pip
  • 3 posts

  • Calculators:
    Casio CFX-9850G

Posted 21 August 2009 - 05:16 AM

"Inputs"?->A
Lb1 1
"Area"?->B
{B}->List 1
A-1->A
If A=0
Then Goto 2
Else Goto 1
Lbl 2
List 1

So it will store the last value of B, but i want to be able to store B each time it goes through the loop?

Any Ideas?

#2 Martin

Martin

    Casio Freak

  • Members
  • PipPipPipPip
  • 121 posts
  • Gender:Male
  • Location:Praha
  • Interests:asm on cfx9850

  • Calculators:
    fx82l
    fx7700GB
    cfx9850G
    TI92
    fx9860G SD
    Rheinmetall KEL IIc
    H. W. Ebmeyer - Tarema
    fx cg20

Posted 21 August 2009 - 09:11 AM

"Inputs"?->A
A -> Dim List 1
1 -> I
Lbl 1
"Area"?->List 1 [I]
Isz I
Dsz A
Goto 1




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users