Hi!

> Hello .
> How does character literals present in source code?
> '<some_character>' - don't work.
> For example 'a' - wrong presentation of character a. There are way to
> present characters by character code (e.g. 116 for 'a'), but it's not
> comfortable.

"&" is used for this. For example:

{System.show &a}

will print "97". (116 is "t", isn't it?)

Cheers,
  Wolfgang

-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to