 |
jolopez Novice
Joined: 31 May 2003 Posts: 49
|
Posted: Wed Apr 21, 2004 1:54 pm
how to comment code? |
if i put ; i cant export as ascii (there are bugs with ; no?)
if i put // i cant see the code colored and it says it is bad or something like this
so how can i comment code like ; without using ; sometjing like ' or some trick? |
|
|
 |
Rorso Wizard
Joined: 14 Oct 2000 Posts: 1368
|
Posted: Wed Apr 21, 2004 3:47 pm |
quote: Originally posted by jolopez
if i put ; i cant export as ascii (there are bugs with ; no?)
if i put // i cant see the code colored and it says it is bad or something like this
so how can i comment code like ; without using ; sometjing like ' or some trick?
// is used at the end of lines. There has to be some data before the comment to get it to work like "#noop // test" is valid. However as a // comment on an empty line is both at the beginning and at the end of that line this sounds like a bug. Please send an email to support@zuggsoft.com to report the bug . |
|
|
 |
nexela Wizard

Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Wed Apr 21, 2004 4:02 pm |
I belive // might be buggy with the syntax checker it still comments fine but will give you a syntax error unless you use it Inline with your scripts (as below)
Value:
#add list 2 //This comment is to inform you that this command will add 1 to the count variable
;is for begining line comments (but they don't import correctly) And I believe Zugg has said there is no way to fix this. This one is best to use while debugging scripts or changing scripts.
#NOOP can be used to for text comments
Value:
#NOOP This alias will sort your herb bag |
|
|
 |
jroper73 Novice
Joined: 03 Aug 2006 Posts: 30
|
Posted: Mon Aug 14, 2006 5:31 pm Can't use tabs before an end of a line comment |
You can not use tabs before using //<comment> to align your comments.
Spaces do work.
If you try and use tabs - they translate into some weird control character
Asbestos
ncmud.org 9000 |
|
|
 |
|
|