Alain's reply here led me to another related issue what happens if I set the handle size in advance and then add something to the container? I have found adding to containers is quite slow and I assume it is the "growing" part which is slow. If I could set the container size to some large arbitrary size first and then fill it it should be faster. Of course maybe the added string would still end up being put on the end of an otherwise empty block of memory. Just wondering... David On Monday, March 25, 2002, at 04:18 AM, Alain Pastor wrote: > Richard, > > We can envision a container as a global handle whose memory > allocation is managed by the runtime. > While such a statement is slightly inaccurate, we can however > retrieve the handle maintained for a given container variable and > why not examine its size like so: > > Begin Globals > Dim gC As Container > End Globals > > gC = "A" > Print Fn GetHandleSize([@gC]) > gC = "" > > Do > Handleevents > Until Fn Button > > --