Code: Select all
EnableExplicit
Define a.i=10
Define a$
;a$=a ; this is ok and gives a syntax error
a$="This="+a ; gives 'This=10' and no syntax error
;a$="This="+Str(a) ; should be this?
Debug a$Code: Select all
EnableExplicit
Define a.i=10
Define a$
;a$=a ; this is ok and gives a syntax error
a$="This="+a ; gives 'This=10' and no syntax error
;a$="This="+Str(a) ; should be this?
Debug a$History wrote:- Added: autocast of numeric values when string are involved, allowing to concatenate string and numeric in constants
