home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
ozogan
/
RECORD1.IPS
< prev
next >
Wrap
Text File
|
1997-07-13
|
609b
|
31 lines
TYPE
simpleRecord = RECORD
simple1 : integer;
anotherSimple : longint;
ENDRECORD
myRecord = RECORD
field1 : byte;
field2 : string;
field3 : simpleRecord;
ENDRECORD
ENDTYPE
VAR
myVar : myRecord;
ENDVAR
PROCEDURE main
ConsoleClear;
myVar.field1 := 1;
myVar.field2 := 'OZOGAN KLONDAIK';
myVar.field3.simple1 := 2;
WRITELN('Jednoduch² zßznam:')
WRITELN('Φφslo:', myVar.field1:4);
WRITELN(myVar.field2);
WRITELN();
WRITELN('Vφcenßsobn² zßznam:');
WRITELN('Φφslo:', myVar.field3.simple1:4);
ENDPROC