--- Frank Heckenbach frank@g-n-u.de wrote:
Will sizeof(somestring) always be 9 bytes larger than high(somestring)/getstringcapacity(somestring)?
A string contains Capacity and Length (4 bytes each on a 32 bit platform) and an extra character for the #0 when converting to CString.
OK, thank you... Is it converted to CString automatically when calling sizeof? Because it is 9 bytes longer than getstringcapacity...
Best regards Preben
===== Computers are like airconditioners: They stop working properly if you open windows.
__________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com