EcIiptic
|
  |
| Joined: 12 Aug 2009 |
| Total Posts: 13737 |
|
| |
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 24 Jan 2014 11:06 PM |
Good to know. LolSameHereTho, I hate having multiple end's on different lines.. Is an example x) |
|
|
| Report Abuse |
|
|
powertool
|
  |
| Joined: 01 Feb 2008 |
| Total Posts: 3771 |
|
|
| 24 Jan 2014 11:08 PM |
I like to keep my code indented too, y'know, just so I can see ends match up easier.
For the rest though, ihdc what happens. But if I write something in a certain way, I write all of it that way. Even if next time I choose to write something in a different way.
For example writing a hell of a lot of functions or coroutines, then calling them at the bottom of the script.
Oh, and declare all variables as local, and at the top of the script. |
|
|
| Report Abuse |
|
|
wazap
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 23234 |
|
|
| 24 Jan 2014 11:10 PM |
do --code end
Such a powerful organizing tool. |
|
|
| Report Abuse |
|
|
powertool
|
  |
| Joined: 01 Feb 2008 |
| Total Posts: 3771 |
|
|
| 24 Jan 2014 11:17 PM |
| do --[[code]] end -- even better. |
|
|
| Report Abuse |
|
|