View Single Post
  #5  
Old 07-07-2009, 04:30 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by WhiteDragon View Post
return Function

return is a function, not a statement, therefore it should use ( ) around the value, otherwise we are using GS1 syntax.
No, it is not. return; is a part of the language syntax, just like in most other scripted languages. Similarly, it is break; and continue;, not break(); and continue();.

Incidentally, I seem to have covered quite a lot of this already.
__________________
Skyld
Reply With Quote