PTPScript supports one style of comment, and a "pseudo-comment" (the Hide command). The comment symbol is a double slash - // - and comments everything after it, to the end of the placeholder, no matter how many lines the placeholder takes up.

For example:

{ // This is a comment }
{ // This is also a comment
     ...even though it spans
        more than one line   }

Anything before the comment symbol will be evaluated as code by the PTP engine, as normal.

For example:

{ Name // User's name }
{ Address // The address of the user...
             can contain many lines
             of text.
{ Telephone
  // Getting the hang of this now? :o)
     It's easy...
ptpscript/basic_syntax/comments.txt · Last modified: 2007/01/24 10:15
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki