Special Identifier Escape Syntax

From RemObjects Software

Jump to: navigation, search

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


If you need a variable identifier in your code that doesn't meet naming rules for identifiers (for example, the variable name contains specific symbols like @ or # or spaces) you can use the special «Foo» syntax provided by Oxygene. Every such identifier must be decorated with '«' and '»' guillement symbols.

Example

var «Foo@@ test»: String := 'Strange variable';
Console.WriteLine(«Foo@@ test»);

Notice that this feature is meant to be a "last resort" and is not supposed to be used frequently. In order to get the '«' and '»' symbols in your editor, you should press Alt+0171 and Alt+0187 respectively.


See also


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