|
Hashes.od |
PROCEDURE IterateHash(hash: Hash); (* start iteration of hash *) PROCEDURE Next(hash: Hash; VAR object: Objects.Object) : BOOLEAN; (* store next object of iteration into object; note that the order of objects is undefined; returns FALSE on end of iteration *) |
Hashes.IterateHash startet einen Durchgang und
Hashes.Next liefert die im assoziativen Array enthaltenen
Objekte in einer vom Hash-Wert abhängigen Reihenfolge.
|
AddressManager.om |
Hashes.IterateHash(db.hashByName); WHILE Hashes.Next(db.hashByName, address) DO Addresses.PrettyPrint(Streams.stdout, address); END; |
Copyright © 1999 Andreas Borchert, in HTML konvertiert am 29.06.1999 |