Page 1 of 1

First Script Exemple in the documentation - print “Hello Wor

Posted: Tue Dec 16, 2008 9:24 pm
by renaud
Hello,

I'm doing the tutorial about scripting in the Modul8 documentatiion.

So I create a new module and paste this text in the init() layer

print “Hello World!”

and I hav an error when I restart the module :

SyntaxError: invalid syntax
print Hello World!
^

What I'm doing wrong?

best,

reno-

Posted: Tue Dec 16, 2008 11:15 pm
by Anome
try

Code: Select all

print "Hello World!"


dont use the ” character, it s rather " or '

Posted: Wed Dec 17, 2008 10:07 am
by sigmasix
Yes, you should always avoid copying and paste text from the documentation! Some ASCII characters might have been converted to their typographic equivalent...

Posted: Wed Dec 17, 2008 11:07 am
by renaud
Hum Hum ... It's perfexct ...

It's so easy than I would have been able to find it alone ..

best,

reno-