pascalabcnet/TestSuite/ord1.pas
Бондарев Иван e6e67c193c initial commit
2015-05-14 21:35:07 +02:00

10 lines
146 B
ObjectPascal

const c = ord('2')+10;
c2 = byte(100)-byte(50);
var v := ord('2')+10;
begin
assert(c=ord('2')+10);
assert(v=c);
assert(c2=50);
end.