Advertisement

What am i doing wrong (syntax)

Started by August 22, 2015 05:34 PM
2 comments, last by SeanMiddleditch 9 years, 4 months ago

Please, tell me what is wrong with this picture... why do i get a syntax error?

Untitled.jpg

" is not the same as ''

(1x double vs 2x single)

EDIT: In future, please post the actual code instead of a picture of the code. Enclose it in the forums code tags to preserve formatting.

Hello to all my stalkers.

Advertisement
There's a special place in $UNDERWORLD for people who publish code samples in a variable-width font.

Sean Middleditch – Game Systems Engineer – Join my team!

" is not the same as ''
(1x double vs 2x single)


(just in case OP needs a more visual example)

"   (single double quote)
''  (two single quotes)

x = ''   (empty string)
x = ""   (empty string)
x = "    (incomplete string)

Sean Middleditch – Game Systems Engineer – Join my team!

This topic is closed to new replies.

Advertisement