Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.comp.os.windows-xp    |    Actually wasn't too bad for a M$-OS    |    17,273 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 17,074 of 17,273    |
|    Mr. Man-wai Chang to R.Wieser    |
|    Re: VBScript dictionary delete by index     |
|    08 Nov 25 11:52:26    |
      XPost: alt.comp.lang.vbscript, alt.windows7.general       From: toylet.toylet@gmail.com              On 6/11/2025 11:09 pm, R.Wieser wrote:        >       > If I can use a "for each" in reverse than I already have the key (and don't       > need the index)       >              You can first sort oDict in reverse order, but that's quite silly. :)               > I just realized I took it for granted that deleting a        > key-item pair while inside a standard "for each" loop        > would cause an error/crash (looping beyond the last item).                     That surely could be a problem for linked list, not array index.              --        @~@ Simplicity is Beauty! Remain silent! Drink, Blink, Stretch!        / v \ May the Force and farces be with you! Live long and prosper!!       /( _ )\ https://sites.google.com/site/changmw/        ^ ^ https://github.com/changmw/changmw              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca