SamiKalliomaki / eppabasic

A new web based basic language inspired by CoolBasic.
Other
11 stars 3 forks source link

Booleans cannot be converted to string #48

Closed expositionrabbit closed 9 years ago

expositionrabbit commented 9 years ago

None of these work:

Print true
Print Str(true)

Dim a = true
Dim b = ""
Print b & a
Print a & b

They all probably should. EDIT: Updated to the correct concat operator, still doesn't work.

fergusq commented 9 years ago

Try b & a or a & b, as & is the string concatenation operator, not + Edit: It seems that you corrected it