Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #16  
Old 04-21-2003, 04:35 PM
Falados Falados is offline
Cucumber NPC
Falados's Avatar
Join Date: Jan 2003
Posts: 141
Falados is on a distinguished road
Send a message via ICQ to Falados Send a message via AIM to Falados
Its a matter of preference, I myself like to put things in braces, but only if they are legitimately complex commands. Braces are just grouping a series of commands together so a conditional statement knows it needs to execute all of the following commands, instead of just the one that follows it. Putting a brace around 1 command is legitimate, but it’s like making an array with 1 element, I don’t think it makes the script more legible (unless you start wildly using white space, or the reverse, lack white space)
__________________

subliminal message: 1+1=3
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:25 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.