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,076 of 17,273    |
|    R.Wieser to All    |
|    Re: VBScript dictionary delete by index     |
|    07 Nov 25 09:15:50    |
      XPost: alt.comp.lang.vbscript, alt.windows7.general       From: address@is.invalid              C-Sharp User,              > How about CoPilot method:       ...       > key = dict.Keys()(1)       > dict.Remove key              well, I mentioned that I'm already using it :              >> oDict.remove oDict.keys()(Index)              I would like to skip having to resolve from index to key first.              But it turns out that that "dict.Remove" can be used in a "for each key in       dict" loop, without it skipping entries or trying to access the dict beyond       its end.              Regards,       Rudy Wieser              --- 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