Comments

From ASCEND
Revision as of 06:22, 12 December 2013 by Jpye (talk | contribs) (Created page with "In ASCEND syntax, comments can be written within the special delimiters <tt>(*</tt> and <tt>*)</tt>. Comments can be nested (note that in some text-editors, this can confuse t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In ASCEND syntax, comments can be written within the special delimiters (* and *). Comments can be nested (note that in some text-editors, this can confuse the syntax highlighting, but it still works fine in ASCEND)

Example:

(*
    This model is very useless, because it doesn't have
    any equations in it yet.
*)
MODEL mymodel;
    d IS_A distance; (* pipe diameter *)
END mymodel;