Previous topic | Next topic | Ada Home Page | Index

Storage allocation

Allocator

new T

new T'(value)

examples:

Allocation with records

data type for dynamic data structures is usually a record


    type contact is record
        initials  : string(1..3);
        extension : integer;
    end;
examples:


Previous topic | Next topic | Ada Home Page | Index
c-lokan@adfa.oz.au / 26 Feb 96