|
Robert, thanks for your advice. I have been strugling with this hash
thing for all night and won't go to bed until getting some workable
code. The strategy I am thinking about now is to do everything in hash
table. So for each by group I will build an old hash table and a new
hash table, I use the old hash table to get the total porfolio value
and then go through the group's members to compare and enter each into
the new hash table. When reaching the end of the group I will replace
the old hash table with the new one. I hope this works.
Yiyu
On May 18, 4:27 am, bard...@ANSYS.CH (Robert Bardos) wrote:
> > I also suspect hash object should be the correct
> > solution but I never coded it before.
> > Some example code will be really helpful.
>
> Nor did I (code hash objects before). But hey, what an occasion to
> teach someone to fish!
>
> Goto http://www.lexjansen.com/sugi/
>
> and enter 'hash' in the 'Search SUGI papers' field.
> Lots of excellenct information there.
>
> Kind regards
>
> Robert Bardos
> Ansys AG, Zurich, Switzerland
|