0 Members and 5 Guests are viewing this topic.
Quote from: epic7 on December 11, 2011, 11:39:05 pm100 for Y acceleration? I'm using 12 for gravity...…Yeah, butts I think you probably meant 10 or something. 100 is way too fast.
100 for Y acceleration? I'm using 12 for gravity...…
Quote from: thydowulays on December 12, 2011, 05:38:21 pmSorry to be a super n00b, but what does >> mean? For example: X>>12. Also, I've never understood for loops, what are the 3 arguments?> works on only positive numbers.>> works on positive and negative numbers. in a for( loop, the 3 arguments are: first, the variable. second, the starting value of the variable, and third, the ending value of the variable.for example:Code: [Select]:For(A,0,3) //loops through 4 times:Disp A>Dec //displays the value of A (see how it changes?):End
Sorry to be a super n00b, but what does >> mean? For example: X>>12. Also, I've never understood for loops, what are the 3 arguments?
:For(A,0,3) //loops through 4 times:Disp A>Dec //displays the value of A (see how it changes?):End
Edit: Wait... So what do I put for the third argument?
What do I put for that pointer?
: [0203 FFFFFFFFFFFFFFFF 0000000000000000 FFFFFFFFFFFFFFFF FF818181818181FF FF818181818181FF FF818181818181FF]->Pic1: ClrDraw: Bitmap(10,20,Pic1): DispGraph: Pause 1000