Comments (Oxygene)

From RemObjects Software

Jump to: navigation, search

This is a Oxygene Language Feature topic
Feel free to add your notes to this topic below.


Comments in an Oxygene source file may be supplied in one or more of three forms:

1. { this is a comment }
2. (* this is a comment *)
3. // this is a comment

The first and second format may span multiple lines, while the last one extends only until the end of the current line.

Examples

(* This is a traditional Pascal-type comment block.
It may span multiple lines *)

{ This too is a block comment, and like the one above, can span lines. }

Comments of the block form may be nested, one form in the other, as below.

(*
{ This comment is nested in the other. }
*)

{ (* This will not work. } *) // mismatched nesting

{ (* { This also will fail. } *) } // too many levels of nesting


Product: RemObjects Oxygene (formerly known as Chrome)
Current version: 3.0 Previous Versions: 'Joyride' (2.0), 'Floorshow' (1.5), 'Adrenochrome' (1.0)

GlossaryKeywordsLanguage FeaturesPlatform FeaturesSamplesArticlesHow ToIssues

Personal tools