RosettaCodeData/Task/Address-of-a-variable/Component-Pascal/address-of-a-variable.component
Ingy döt Net 776bba907c Sync
2013-10-27 22:24:23 +00:00

14 lines
221 B
Text

MODULE AddressVar;
IMPORT SYSTEM,StdLog;
VAR
x: INTEGER;
PROCEDURE Do*;
BEGIN
StdLog.String("ADR(x):> ");StdLog.IntForm(SYSTEM.ADR(x),StdLog.hexadecimal,8,'0',TRUE);StdLog.Ln
END Do;
BEGIN
x := 10;
END AddressVar.