Variable with the same name but being of different types crashed the compiler.
This worked in AMOS (and should not have) and used to crash:
Dim a$( 10 )
a$ = ""
Updated by Brian Flanagan over 2 years ago
- Status changed from Resolved to Feedback
- Target version deleted (
- Affected version set to 1.0.0 (B3)
Re-tested on 2/16/2021:
No longer causes compiler crash, however, still fails .
The array functions normally, however the simple string variable returns object Object instead of value of string.
Dim a$( 10 ) a$ = "" a$(1)="abc" a$="def" a$(2)="ghi" Print a$(1),a$(2),a$
abc ghi [object Object]
abc ghi def