CupCarbon icon indicating copy to clipboard operation
CupCarbon copied to clipboard

the output of helloworld project is null

Open AblePart opened this issue 3 years ago • 1 comments

the output of helloworld project is null in version 5.x. but in version 4.x and 3.x is ok!

hello

AblePart avatar Oct 21 '21 10:10 AblePart

Hi,

Thx for the email.

Yes, because in the new version, as noted in the new tutorial (demo) and the website, the $ is not used for the variables, so:

print hello

means that you need to print the variable hello and not the string hello,

if the variable hello does not exist, then it prints null

however, if you want to print the message hello, you must put it inside "" :

print "hello"

Cheers,

Ahcène

bounceur avatar Oct 22 '21 06:10 bounceur