<david.gamey@...> writes:
>
> Kim,
>
> I suspect that the delete(H,-1) failed. Can you confirm?
>
> It's still weird. Good catch.
>
> David
David,
According to the book, delete() always succeeds. Testing confirms this:
H := []
put(H, 1 to 10)
if delete(H, -1) then write("Delete succeeded")
outputs "Delete succeeded" — even though in the ordinary sense of the word
it didn’t!
Kim
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group