Re: TIB: sprites...


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

Re: TIB: sprites...




i wanted to try something like the following code but it doesn't work.  can
you help me out?

1->A                 ;storing variables
1->B                 ; "   "       "    "
Lbl C
getky->C
If c=24             ;24 is the left arrow key
Then
A-1->A             ;subtract 1 from A
Else
If C=26             ;26 is right arrow key
Then
A+1->A            ;add 1 to A
Text(A,B,"#"     ;display the text "#"
Goto C             ;do it again


Can anyone find anything wrong with that code, because it doesn't work. 

Thanks,
BlAsTo1414


Follow-Ups: