|
digitaljams Newbie
Joined: 02 Nov 2007 Posts: 9
|
Posted: Sat Oct 18, 2008 2:50 pm
Remark Statement |
Ok new to cmud/zmud. I've done some searching and aside from using #NOOP as a adhoc way of using remark statements, I've seen no formal way to do this. Having the ability to document your work, for yourself and others, is invaluable.
What are the pitfalls for using #NOOP as a remark statement and are there any other ways to to document your code without impact (I've seen other old posts in zmud about using the semicolon) ??
-Thanks |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sat Oct 18, 2008 5:23 pm |
Cmud supports using // at the start of a line to indicate comments. This is the recommended method, as it does not become part of the compiled script. Using #NOOP will add extra code to the compiled script and generally make things slower.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
digitaljams Newbie
Joined: 02 Nov 2007 Posts: 9
|
Posted: Sat Oct 18, 2008 9:36 pm |
// Insert thanks below for answering problem
Thanks for the input, works like a champ. |
|
|
|
|
|