navinsubramani / LabVIEW-Script-Language

Developing a platform to develop scripts, compile and execute it in the LabVIEW development or run time environment
MIT License
7 stars 2 forks source link

String concatenation is not working #26

Closed pranay001 closed 4 years ago

pranay001 commented 4 years ago

print("Na"+"vin")

The above syntax is not working, is that removed intentionally?

navinsubramani commented 4 years ago

Implemented along with the Numeric function addition. Since the addition is the same operation for different data types and variables are data-type agnostic, the compilation will miss the string variables and assume that it is a numeric variable. This will throw a run time error.