kcpmtk/test.pas

11 lines
249 B
Plaintext
Raw Normal View History

2023-10-03 08:54:45 +00:00
program test;
2023-10-03 10:07:21 +00:00
{$I 'binary.pas'}
2023-10-03 08:54:45 +00:00
begin
2023-10-03 10:07:21 +00:00
Writeln('ReadByte(''41'')->', ReadByte('41'));
Writeln('WriteByte($41)->', WriteByte($41));
Writeln('ReadWord(''4243'')->', ReadWord('4243'));
Writeln('WriteByte($4243)->', WriteWord($4243));
2023-10-03 08:54:45 +00:00
end.