Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
29
Task/Show-ASCII-table/Delphi/show-ascii-table.delphi
Normal file
29
Task/Show-ASCII-table/Delphi/show-ascii-table.delphi
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
program Show_Ascii_table;
|
||||
|
||||
{$APPTYPE CONSOLE}
|
||||
|
||||
var
|
||||
i, j: Integer;
|
||||
k: string;
|
||||
|
||||
begin
|
||||
for i := 0 to 15 do
|
||||
begin
|
||||
j := 32 + i;
|
||||
while j < 128 do
|
||||
begin
|
||||
case j of
|
||||
32:
|
||||
k := 'Spc';
|
||||
127:
|
||||
k := 'Del';
|
||||
else
|
||||
k := chr(j);
|
||||
end;
|
||||
Write(j: 3, ' : ', k: 3, ' ');
|
||||
inc(j, 16);
|
||||
end;
|
||||
Writeln;
|
||||
end;
|
||||
Readln;
|
||||
end.
|
||||
Loading…
Add table
Add a link
Reference in a new issue