neilsf/XC-BASIC

Can't create different type vars with same name

Closed this issue · 1 comments

num_players$ = ""
num_players! = 0;    

results in ERROR: A(n) string named num_players already exists in file startrader.bas in line 9

Not sure, if this is a bug. You could do this in BASIC V2 though.

This is not allowed in XC=BASIC. I'll update the docs accordingly.