Unicode variable names: Difference between revisions

Content added Content deleted
Line 35: Line 35:
Δ++
Δ++
MsgBox, % Δ</lang>
MsgBox, % Δ</lang>

=={{header|Bracmat}}==
Bracmat allows any sequence of non-zero bytes as symbol and therefore, as variable name. Even the empty string is a variable, though a special one. If a symbol/variable name contains characters that have special meaning (operators, prefixes, parentheses, braces and the semicolon) it may be necessary to enclose it in quotes. Other special characters must be escaped C-style. See bracmat.html in the git-repo. The example below requires a terminal that supports UTF-8 encoded characters.
<lang bracmat>( (Δ=1)
& 1+!Δ:?Δ
& out$("Δ:" !Δ)
);</lang>
Output:
<pre>Δ: 2</pre>


=={{header|C}}==
=={{header|C}}==