on 5/1/04 11:20 PM, Robert Brenstein at [EMAIL PROTECTED] wrote: >> I have an associative array from which I wish to remove elements. How do I >> do this? I have Metacard 2.4.3. I have discovered that I cannot directly >> adjust the keys of this array, but deleting the individual elements has also >> been eluding me. >> >> Any pointers would be greatly appreciated. >> >> Thanks, >> >> Raymond > > delete myarray["keytodelete"]
Thanks, I'll try this tomorrow. > > I don't think you can rename the keys but you can create a new key > with the value of the old one then delete the old one. Maybe I'm just being dense. Could you give an example, please? I am working hard at improving the times needed for matrix operations (like determinant). The determinant of large matrices is a time-consuming task, and every advantage I can get would be worth it. I am looking at determinants of 30x30 matrices for starters, but upwards from there, too. Regards, Raymond > > Robert > _______________________________________________ > metacard mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/metacard _______________________________________________ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
