home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 June
/
PCWorld_1998-06_cd.bin
/
software
/
Programy
/
Ozogan
/
RECORD1.IPS
< prev
next >
Wrap
Text File
|
1998-03-25
|
622b
|
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; ConsoleShow;
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