Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
19
Task/Character-codes/Delphi/character-codes.delphi
Normal file
19
Task/Character-codes/Delphi/character-codes.delphi
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
program Project1;
|
||||
|
||||
{$APPTYPE CONSOLE}
|
||||
|
||||
uses
|
||||
SysUtils;
|
||||
var
|
||||
aChar:Char;
|
||||
aCode:Byte;
|
||||
uChar:WideChar;
|
||||
uCode:Word;
|
||||
begin
|
||||
aChar := Chr(97); Writeln(aChar);
|
||||
aCode := Ord(aChar); Writeln(aCode);
|
||||
uChar := WideChar(97); Writeln(uChar);
|
||||
uCode := Ord(uChar); Writeln(uCode);
|
||||
|
||||
Readln;
|
||||
end.
|
||||
Loading…
Add table
Add a link
Reference in a new issue