AmiBlitz / AmiBlitz3

Complete package of AmiBlitz3 including all sources.
https://www.amiblitz.de/
120 stars 9 forks source link

Array not yet dim'd #71

Closed sikosis closed 1 year ago

sikosis commented 1 year ago

fmt$ = "%ld ($%lx)" + Chr$(10)

Affected source: Chr$(10)

The above code fails to compile with that error about not being dim'd.

honitos commented 1 year ago

I can not reproduce this behaviour. Is the function Chr$() tokenized, that means is it printed as bold ? If not, the compiler did not recognize Chr$() as a function probably because not all blitzlibs have been loaded.

Please open the instruction browser, all loaded libs will be displayed there. Chr$() is part of the "stringfunclib".

T0lk13n commented 1 year ago

Cant test in the A1200 but under MorphOS it works correctly.

mbergmann-sh commented 1 year ago

This might happen if you forgot a closing bracket or use a call to function/statement with round brackets instead of curly brackets.