Compiler is hanging on first pass when trying to compile a couple of my longer programs. Didn't do that before, but still didn't compile because of numerous errors.
Both 'mouse x' and 'mouse y' are generating syntax errors.
Variables in 'Shared' statement within procedures are throwing up 'variable used without been declared' and ' non dimensioned array'. Also lots of other errors to do with variables within the procedure such as syntax, type mismatch etc.
Here's one such procedure for example, lines 378 to 408. All arrays are dimensioned at the start of the program.
Procedure VARSET
Shared UD(),TX(),TY(),HA(),HB(),HC(),HD(),HE(),HF(),HX(),HY()
N=1 : O=0
For Y=22 To 204 Step 26
For X=14 To 165 Step 15
UD(N)=O
TX(N)=X
TY(N)=Y
If O=0
O=1
Else
O=0
End If
N=N+1
Next X
Next Y
For N=1 To 32
Read HA(N),HB(N),HC(N),HD(N),HE(N),HF(N),HX(N),HY(N)
Next N
Data 1,2,3,14,13,12,5,16,3,4,5,16,15,14,35,16,5,6,7,18,17,16,65,16
Data 7,8,9,20,19,18,95,16,9,10,11,22,21,20,125,16,13,14,15,26,25,24,20,42
Data 15,16,17,28,27,26,50,42,17,18,19,30,29,28,80,42,19,20,21,32,31,30,110,42
Data 23,24,25,36,35,34,5,68,25,26,27,38,37,36,35,68,27,28,29,40,39,38,65,68
Data 29,30,31,42,41,40,95,68,31,32,33,44,43,42,125,68,35,36,37,48,47,46,20,94
Data 37,38,39,50,49,48,50,94,39,40,41,52,51,50,80,94,41,42,43,54,53,52,110,94
Data 45,46,47,58,57,56,5,120,47,48,49,60,59,58,35,120,49,50,51,62,61,60,65,120
Data 51,52,53,64,63,62,95,120,53,54,55,66,65,64,125,120,57,58,59,70,69,68,20,146
Data 59,60,61,72,71,70,50,146,61,62,63,74,73,72,80,146,63,64,65,76,75,74,110,146
Data 67,68,69,80,79,78,5,172,69,70,71,82,81,80,35,172,71,72,73,84,83,82,65,172
Data 73,74,75,86,85,84,95,172,75,76,77,88,87,86,125,172
End Proc
And these are the associated errors:-
main.aoz:379:9: error: non dimensionned array
main.aoz:379:14: error: non dimensionned array
main.aoz:379:19: error: non dimensionned array
main.aoz:379:24: error: non dimensionned array
main.aoz:379:29: error: non dimensionned array
main.aoz:379:34: error: non dimensionned array
main.aoz:379:39: error: non dimensionned array
main.aoz:379:44: error: non dimensionned array
main.aoz:379:49: error: non dimensionned array
main.aoz:379:54: error: non dimensionned array
main.aoz:379:59: error: non dimensionned array
main.aoz:383:4: error: syntax error
main.aoz:383:5: error: syntax error
main.aoz:384:4: error: syntax error
main.aoz:384:5: error: syntax error
main.aoz:385:4: error: syntax error
main.aoz:385:5: error: syntax error
main.aoz:395:10: error: syntax error
main.aoz:395:15: error: syntax error
main.aoz:395:16: error: syntax error
main.aoz:395:16: error: type mismatch
main.aoz:395:21: error: syntax error
main.aoz:395:22: error: syntax error
main.aoz:395:22: error: type mismatch
main.aoz:395:27: error: syntax error
main.aoz:395:28: error: syntax error
main.aoz:395:28: error: type mismatch
main.aoz:395:33: error: syntax error
main.aoz:395:34: error: syntax error
main.aoz:395:34: error: type mismatch
main.aoz:395:39: error: syntax error
main.aoz:395:40: error: syntax error
main.aoz:395:40: error: type mismatch
main.aoz:395:45: error: syntax error
main.aoz:395:46: error: syntax error
main.aoz:395:46: error: type mismatch
main.aoz:379:9: warning: variable used without been declared
main.aoz:379:14: warning: variable used without been declared
main.aoz:379:19: warning: variable used without been declared
main.aoz:379:24: warning: variable used without been declared
main.aoz:379:29: warning: variable used without been declared
main.aoz:379:34: warning: variable used without been declared
main.aoz:379:39: warning: variable used without been declared
main.aoz:379:44: warning: variable used without been declared
main.aoz:379:49: warning: variable used without been declared
main.aoz:379:54: warning: variable used without been declared
main.aoz:379:59: warning: variable used without been declared
Task failed, no code generated...
main.aoz:395:51: error: syntax error
main.aoz:395:52: error: syntax error
main.aoz:395:52: error: type mismatch