>>Thanks george,
>>
>>will this SESSION statement result in a smaller
>>memory footprint?
>>
>Erwin,
>
>I'd think so, but haven't really checked. FWIW, the next lightest is a line object. So even before the session class was introduced it wasn't the lightest.
Actually, the session class comes in around the middle of the pack in terms of memory footprint. The real reason to use it is as you said, fewer PEMs. This makes for better performance when using late binding (fewer entries in the VTABLE).
You can make the VTABLE even smaller by making all the PEMs you don't need hidden. As Craig said, this has been done for you in VFP 7 but it is doable in VFP 6 with a little work.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao