pascalabcnet/TestSuite/unicodetest.pas
Бондарев Иван 2abf92d02e bug fix issue #30
2015-12-29 13:30:02 +01:00

13 lines
207 B
ObjectPascal
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//üя
begin
var arr: array['а'..'я'] of integer;
arr['д'] := 2;
assert(arr['д'] = 2);
var c := 'д';
var i := 0;
case c of
'л': i := 3;
'д': i := 5;
end;
assert(i = 5);
end.