Unicode variable names: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: fixed bad formatting) |
(Added PicoLisp) |
||
Line 51: | Line 51: | ||
for @ᐁ -> $ಠ_ಠ { say sin $ಠ_ಠ° };</lang> |
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}}== |
=={{header|Protium}}== |