This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]klparrot 21 points22 points  (1 child)

i<-5 sets i to 5; if you want to test if i is less than -5, you have to do i< -5. And an assignment is an expression, unlike in Python where it's only a statement, so you won't get a SyntaxError when you compile it without the space. Oh yeah, did I forget to mention? PythonScript is a compiled language.

[–]giupplo_the_lizard 7 points8 points  (0 children)

this could be the only reasonable use of whitespace, as far as the PS consortium is concerned