[Implemented] Associative Arrays
Yes, I saw it yesterday.
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Code: Select all
You simple can't do this with an array, fast or slow :
Name.s = TheSettings("name")
I would also appreciate "associateive Arrays" (Hashes) as known from Perl or shown in the example code.
PB 4.30
Code: Select all
onErrorGoto(?Fred)
I miss Associative Arrays from Unix Shell Scripting. I dunno maybe they are much slower than regular Arrays. But does it really matter?
If you need speed and sequential addressing use XXX(1) - XXX(99).
If you want descriptive names Associative Arrays rule...
For most Applications speed doesnt really matter - Most Windows servers CPUs are only 5% utilised anyhow. So you spend hours optinmising code to run on a machine that for 95% of the time has nothing to do....
If you need speed and sequential addressing use XXX(1) - XXX(99).
If you want descriptive names Associative Arrays rule...
For most Applications speed doesnt really matter - Most Windows servers CPUs are only 5% utilised anyhow. So you spend hours optinmising code to run on a machine that for 95% of the time has nothing to do....
Ta - N
An associative array can make some complicated stuff much faster by using the 'Orcache Manoeuvre'
http://use.perl.org/comments.pl?sid=33958
http://use.perl.org/comments.pl?sid=33958