Language that supports Unicode Variables??

madurax86

Member
Jun 29, 2006
4,385
88
0
Code:
var
   අ,ස:integer;

begin
    for ස := 0 to 10 do
    begin
        writeln(ස);
        for අ := ස to 10 do
            write('ස');
    end;
end.

The above code runs perfect and I mean PERFECT when compiled in Delphi 2009. I dont know about you guys but I just discovered a programming language that supports Unicode variables and which is not based on or around an interpreter!
:rofl:
 
Last edited:

madurax86

Member
Jun 29, 2006
4,385
88
0
අ and ස (sinhala characters) are the variables used in this code
And the compiler does NOT throw an error, it just compiles it and runs the prog. No problems.