🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17778

VB Experts: how to clear a collection?

#17778
From: Ana Greenspan
Date: Fri, 16 May 2003 23:47
6 lines
944 bytes
If I have:
   Dim savedItems As New Collection

after adding some elements in the collection, I want to clear them and store some other elements. How do I do that? Right now, I just do:

savedItems = new Collection
Technical Details
Message-ID: <1de9286c.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,e381395f60723759,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-05-16 17:07:51 PST
From: "Ana Greenspan" <mrsgreenspan@yahoo.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: VB Experts: how to clear a collection?
Message-ID: <1de9286c.-1@WebX.la2eafNXanI>
Date: Fri, 16 May 2003 16:47:10 -0700
Lines: 7
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit