>How about something like this for XBlockFile:
>(lots of stuff snipped)
Brian,
sounds like what I want to do. But how do I add items to a hashmap or to a
map?
>I chose a map instead of a hashmap for the "entryMap" type, because you can
>iterate over maps (but not hashmaps).
Trouble is, in the long term I'd like to add GetIndType() and
GetIndResource() functionality to XBlockFile. And I guess there will surely
be only a couple of types, thus the gain from a hash map will probably be
very low. maybe I'll make XBlockFile remember the last type chosen and
check that first, which would speed up e.g. getting a list of all buttons.
Cheers,
-- M. Uli Kusterer
------------------------------------------------------------
http://www.weblayout.com/witness
'The Witnesses of TeachText are everywhere...'
--- HELP SAVE HYPERCARD: ---
Details at: http://www.hyperactivesw.com/SaveHC.html
Sign: http://www.giguere.uqam.ca/petition/hcpetition.html