generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Tell me :)

Previous Thread :: Next Thread 
Jeffe32 is not online. Jeffe32
Joined: 30 Mar 2012
Total Posts: 1616
16 Aug 2013 09:41 PM
Is it,

while true do
or
while (true) do
Report Abuse
LV1Z is not online. LV1Z
Joined: 23 Jul 2011
Total Posts: 652
16 Aug 2013 09:41 PM
while true do
wait()
end

or

while wait() do
end
Report Abuse
BlueTaslem is not online. BlueTaslem
Joined: 11 May 2008
Total Posts: 11060
16 Aug 2013 09:43 PM
Either. The parenthesis don't matter at all. They don't have a syntactic function and they don't otherwise modify the behavior of the code at all.

ALGOL (C-like) languages (e.g., Java, Javascript, C) usually require parenthesis around conditions, so the practice creeps in from there.
Lua does not require them.
Pick what you prefer. Although, since they aren't required, it would usually be considered better to not have them at all, as they are just unnecessary clutter.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image