[EMAIL PROTECTED] wrote:
We could argue all month about style but, for the benefit of anyone
interested, here's how I do it:
OK, so, here is how I would like code to be formatted (not that I expect
it to change, just FYI).
if [short statement] then [short statement]
if [long statement] then
[long statement]
if [statement] then
[statements]
end if -- note I always line my ENDs up with the internal statements
There is a reason for this: if I want to clip the final line out, I can
just do a <shift><down arrow> and not have to back up to get rid of the
"EN" that was accidentally included. This is one of the annoyances with
the current script editor, something that does not happen with the
Delphi editor.
if [statement] then
[statements]
else
[statements]
end if
Like it or not, it is consistent and it is easy to read.
:)
Jon
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution