Re: A89: yet another


[Prev][Next][Index][Thread]

Re: A89: yet another




In a message dated 9/27/98 2:11:50 AM Eastern Daylight Time, kimo@stones.com
writes:

> here i go again.  late night BASIC programming!  =)
>  anyway, i'm sorry to be "flooding" this Assembly list with BASIC questions,
>  but
>  since it's 89 specific i figured what the heck.  (i know that my questions
>  probably pertain to all TI-8x calcs, but again, what the heck!)
>  
>  i'm going through a for statement
>  for test,1,40,4
>  endfor
>  
>  each time it does that it'll store 1,5,9,13 . . . into test.  but each
>  time, it
>  overwrites it.  
>  how do i store each answer into a variable of it's own in the for
statement?
>  
>  i thought i could set a variable to 1 maybe
>  1->s
>  then have 
>  for test,1,40,4
>  test->test(s)
>  1+s->s
>  endfor
>  but that doesn't work.  so, hopefully that example will give you some idea 
> of
>  what i'm trying to do.  
>  thanks for the help.  (even though i haven't gotten any responses to the 
> last
>  two posts!  i'm hoping it's because everyone is asleep)
>  


seq(4x+1,0,10)->test

first argument=expression to evaluate
second argument=beginning value of loop
third argument=ending value of loop (last value)
fourth argument=optional step value