Page 54 - BAHAN_BACAAN_ALGORITMA_DAN_PEMOGRAMAN
P. 54
Atau
File
c) Tipe object
Tipe object adalah data berstruktur yang berisi komponen
bilangan fixed.
Bentuk umum:
Object
Field;
Field;
……..
Method;
Method;
End;
d) Tipe record
Bentuk umum:
Record
Field;
Field;
…….
End;
e) Tipe set
Bentuk umum:
Set of Tipe Data
4. Tipe Pointer
Tipe pointer adalah tipe yang berisi alamat memori, dan
berlambang ^. Anda dapat menunjuk sebuah nilai kedalam
variable pointer dengan:
- Procedure New atau GetMem
- Operator @