TIB: (86) I don't get why this doesn't work...


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

TIB: (86) I don't get why this doesn't work...




This is supposed to plant two random castles on the screen, the castles
looking something like this:

(pi)_ _(pi)
 |  (pi) |
 ~~~~~~~~~

The picture is alright on the calc, I've set it up. So why doesn't this
code work?


:ClLCD
:"(pi)_     _(pi)"(storeto)C1
:" |      (pi)       |"(storeto)C2
:"~~~~~"(storeto)C3
:randInt(1,5,1(storeto)CL1
:Lbl ABDB
:randInt(1,5,1(storeto)CL2
:If CL1==CL2
:Then
:Goto ABDB
:Else
:Text(12*CL1,10*CL2,C1
:Text(12*CL1+6,10*CL2,C2
:Text(12*CL1+12,10*CL2,C2
:Text(12*CL2,10*CL1,C1
:Text(12*CL2+6,10*CL1,C2
:Text(12*CL2+12,10*CL1,C2