On Sun, Sep 18, 2005 at 12:05:15PM -0400, Tal Cohen wrote:

> Hi Ronald,
>      The sample code is only a simplification of the specific
> functionality that I am trying to achieve. It is a drastically stripped
> down (emphasis on drastically) version of my code and only an example of
> what I am trying to achieve functionally (i.e. only for error
> demonstration purposes). The code that I am developing will load variable
> names dynamically from an XML file, and then perform operations on them
> based on their respective values. I don?t know in advance the variable
> names or how many there will be.

So how are you planning to access them in the actual code, if you don't
know ahead of time what their names are or how many there will be?

Accessing values by arbitrary names is exactly what a hash is for...

Ronald
 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to