Help! I keep getting this error while trying to compile my code:Warning: string has been automatically squish-ed!. Error at line 4. Warning: string has been automatically squish-ed!. Error at line 5. This token/function is not implemented (yet). Error at line 25
. Here is the program:
. Here is the program:
SourceCoder 3 (TAG) wrote:
:[i]TAG
:det(0)
:det(9,1)
:"02020444440444000400"->Str1
:"04040111110111000100"->Str2
:randInt(1,2)->I
:
:Str1->P
:Str2->L
:randInt(1,5)->R
:det(5,R)
:0->X:0->Y:50->Z:50->C
:1000->S
:While S>0
: getKey->K
: X->A:Y->B:Z->M:C->N
:
: "P1 move"
: If K=34 and pxl-Test(Y+1,X):Y+1->Y:End
: If K=24 and pxl-Test(Y,X-1):X-1->X:End
: If K=26 and pxl-Test(Y,X+1):X+1->X:End
: If K=25 and pxl-Test(Y-1,X):Y-1->Y:End
:
: "P2 move"
: If K=21 and pxl-Test(C+1,Z):C+1->C:End
: If K=31 and pxl-Test(C,Z-1):C-1->Z:End
: If K=41 and pxl-Test(C,Z+1):Z+1->Z:End
: If K=32 and pxl-Test(C-1,Z):C-1->C:End
:
: If X=Z and Y=C:0->S:End
:
: If (X!=A and Y!=B) or (Z!=M and C!=N)
: BackgroundOn R
: det(58,P,X,Y)
: hdet(58,L,Z,C)
: det(2,224)
: det(33,0)
: If I=1:FillRectangle(X+2,Y+2,1,1):End
: If I=2:FillRectangle(Z+2,C+2,1,1):End
: det(10)
: End
: S-1->S
:End
:det(1)
:ClrHome
:If X=Z and Y=C
: Output(4,5,"Evader Tagged!")
: Output(5,5,"TAGGER WINS!")
:Else
: Output(4,5,"Time is up!")
: Output(5,5,"EVADER WINS!")
:End
:det(0)
:det(9,1)
:"02020444440444000400"->Str1
:"04040111110111000100"->Str2
:randInt(1,2)->I
:
:Str1->P
:Str2->L
:randInt(1,5)->R
:det(5,R)
:0->X:0->Y:50->Z:50->C
:1000->S
:While S>0
: getKey->K
: X->A:Y->B:Z->M:C->N
:
: "P1 move"
: If K=34 and pxl-Test(Y+1,X):Y+1->Y:End
: If K=24 and pxl-Test(Y,X-1):X-1->X:End
: If K=26 and pxl-Test(Y,X+1):X+1->X:End
: If K=25 and pxl-Test(Y-1,X):Y-1->Y:End
:
: "P2 move"
: If K=21 and pxl-Test(C+1,Z):C+1->C:End
: If K=31 and pxl-Test(C,Z-1):C-1->Z:End
: If K=41 and pxl-Test(C,Z+1):Z+1->Z:End
: If K=32 and pxl-Test(C-1,Z):C-1->C:End
:
: If X=Z and Y=C:0->S:End
:
: If (X!=A and Y!=B) or (Z!=M and C!=N)
: BackgroundOn R
: det(58,P,X,Y)
: hdet(58,L,Z,C)
: det(2,224)
: det(33,0)
: If I=1:FillRectangle(X+2,Y+2,1,1):End
: If I=2:FillRectangle(Z+2,C+2,1,1):End
: det(10)
: End
: S-1->S
:End
:det(1)
:ClrHome
:If X=Z and Y=C
: Output(4,5,"Evader Tagged!")
: Output(5,5,"TAGGER WINS!")
:Else
: Output(4,5,"Time is up!")
: Output(5,5,"EVADER WINS!")
:End


