Hi,
On FPGA Oberon we have (long) WORDS and BYTES, reading SHORTS(two
bytes), requires some coding.
(* this works *)
Files.ReadByte(R, bt0); Files.ReadByte(R, bt1); short := bt0 +
bt1*100H
(* this does not *)
Files.ReadBytes(R, short, 2);
I saw above in ETH Oberon code frequently.
--
Tomas Kral <thomas.kral at email.cz>