|
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.
|
Hashes.IterateHash(db.hashByName); WHILE Hashes.Next(db.hashByName, address) DO Addresses.PrettyPrint(Streams.stdout, address); END; |
Copyright © 1999, 2004, 2005 Andreas Borchert, in HTML konvertiert am 14.09.2005 |