Jump to content

Unicode variable names: Difference between revisions

Added PicoLisp
m (→‎{{header|Perl 6}}: fixed bad formatting)
(Added PicoLisp)
Line 51:
 
for @ᐁ -> $ಠ_ಠ { say sin $ಠ_ಠ° };</lang>
 
=={{header|PicoLisp}}==
Variables are usually [http://software-lab.de/doc/ref.html#internal-io Internal Symbols], and their names may contain any UTF-8 character except null-bytes. White space, and 11 special characters (see the reference) must be escaped with a backslash. [http://software-lab.de/doc/ref.html#transient-io Transient Symbols] are often used as variables too, they follow the syntax of strings in other languages.
<lang PicoLisp>: (setq Δ 1)
-> 1
: Δ
-> 1
: (inc 'Δ)
-> 2
: Δ
-> 2</lang>
 
=={{header|Protium}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.