Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #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
  #17  
Old 04-21-2003, 05:21 PM
Dude6252000 Dude6252000 is offline
More often known as Karsh
Dude6252000's Avatar
Join Date: May 2002
Location: USA.
Posts: 2,603
Dude6252000 is on a distinguished road
Send a message via AIM to Dude6252000
braces 4 lyf

I honestly didn't know you didn't need them for one command since about a week ago. o.o They're still my friend.
__________________
BEING AWAY FROM THE FORUMS RULES

http://www.livejournal.com/users/karsheth/
Reply With Quote
Reply


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 06:54 PM.


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