0 Members and 3 Guests are viewing this topic.
Thanks I just got bored in math class and screwed around with the programs....and boom there it isI need some help to create a more complex one so anyonencan help me, because right now I'm
:ClrHome:Lbl 1:For(X,3,16):Output(4,X,"<what ever you want>:For(Y,5,20):Output(7,Y,getTime:Goto 1:ClrHomeThe code makes a loop that updates every time the getTime is displayed,this only shows for about 20-30 seconds and to exit it press the on button.
:For(<variable>,<start>,<end>):<do something>:End
This is how for loops usually work:Code: [Select]:For(<variable>,<start>,<end>):<do something>:End<variable> is a real variable (=uppercase character or one of the variables from the finance app).At the start of the loop, that variable is set to the <start> value. Then, the code inside the loop is executed. If the variable is smaller than the <end> value, it gets incremented (1 is added to it), and the code in the loop is executed again. This keeps happening untill the variable is greater than or equal to the <end> value.
note this does not work for nspire series so technically not all ti calculators
Thanks that helps, I will post a revised version later
Quote from: hking1 on January 22, 2014, 09:41:48 pmnote this does not work for nspire series so technically not all ti calculatorsWhile we're being technical, it should work for the 84+SE emulator that's on some Nspires . (Though you could argue it's not an Nspire anymore )