[Oberon] How to mimic an associative array
dukeofperl at ml1.net
Thu Dec 2 18:03:07 CET 2010
On Thu, 2 Dec 2010, Stauber Sven Philipp wrote:
Hello my friend...
> Hi Duke,
> I'm somewhat confused because of the term "hashing". I guess what
> you want is something like:
var my_cars= new Array()
I'm writing a CGI module to deal with HTML <form> variable/value
pairs. I'm _very_ familiar with the Perl way (since 199?), where the
contents of QUERY_STRING, PATH_INFO, or STDIN are "split" in pairs,
then the pairs split again and stuffed into an associative array
Associative array functionality is built into Perl, so we never had to
deal with the implementation details. I would have though that after
all these years, Oberon would have had a module kicking around that
offered the same functionality. Maybe there is! but I have yet to find
it. maybe the code that you have included in your post, does exactly
that? I haven't studied it yet - but I will!!
Anyway, I'm much obliged for your input.
More information about the Oberon