[futurebasic] Re: [FB] Re: container question

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 2001 : Group Archive : Group : All Groups

From: tedd <tedd@...>
Date: Thu, 6 Sep 2001 19:31:28 -0400
>tedd asked,
>
>>I don't know zip about containers, but is there a way to check the
>>size of the container?
>
>// Run under Console
>BEGIN GLOBALS
>DIM myC      AS CONTAINER
>DIM myCH     AS HANDLE
>DIM dataSize AS LONG
>END GLOBALS
>
>      myC = "This is a test of container storage"
>     myCH = [@myC]
>dataSize = FN GetHandleSize( myCH )
>PRINT dataSize; " bytes"
>
>Ken

jonathan:

There you go. Just check the size for empty containers.

tedd

-- 
http://sperling.com