Re: TIB: sprites...


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

Re: TIB: sprites...




BlAsTo1414@aol.com wrote:

> Lbl C
> getky->C
> If c=24
> Then
> A-1->A
> Else
> If C=26
> Then
> A+1->A
> Text(A,B,"#"
> Goto C

Like was said before, the '=' needs to be a '==', but that's not all. You also
need to close the If statments with 'End's, right before Text(). Those two
bugs combined mean that it never reaches the Text() or Goto statements, which
is why it quits without doing anything.

So put the double-equals in and change the bottom part to this:
...
A+1->A
End
End
Text(A,B,"#"
Goto C

(actually, you can get rid of the second then/end statments, since the second
If only deals with one line conditionally.)

-justin


References: