Sambar Server Documentation

CScript Comments


Comments are added to make a program more readable to you but are ignored by the CScript interpreter. The special characters denoting comments in CScript are the slash star combination used in C for comment delimiters:
/* comment here... */
Comments are delimited by `/*' and `*/'. Any text between the first `/*' and the next `*/' is ignored by the interpreter, irrespective of the position of line breaks. Note that this means that comments do not nest. Here are some examples of the valid use of comments:
/* This is a comment */ /* here is another one ** that spans two lines */ i = /* a big number */ 123456;
In addition, CScript supports the double-slash combination used in C++ for comment delimiters:
// comment here to end-of-line...

© 2001 Sambar Technologies. All rights reserved. Terms of Use.