Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
12
Task/Host-introspection/Modula-3/host-introspection.mod3
Normal file
12
Task/Host-introspection/Modula-3/host-introspection.mod3
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
MODULE Host EXPORTS Main;
|
||||
|
||||
IMPORT IO, Fmt, Word, Swap;
|
||||
|
||||
BEGIN
|
||||
IO.Put("Word Size: " & Fmt.Int(Word.Size) & "\n");
|
||||
IF Swap.endian = Swap.Endian.Big THEN
|
||||
IO.Put("Endianness: Big\n");
|
||||
ELSE
|
||||
IO.Put("Endianness: Little\n");
|
||||
END;
|
||||
END Host.
|
||||
Loading…
Add table
Add a link
Reference in a new issue