Microsoft KB Archive/37300

= QuickBASIC Maximum String Size Is 32767; 255 Saved as Resource =

Article ID: 37300

Article Last Modified on 11/21/2006



This article was previously published under Q37300



SUMMARY
The largest size for a string variable in Macintosh QuickBASIC is 32,767 bytes for both the QuickBASIC environment and compiled programs. Note that you may write strings of up to 32,767 bytes at a time into QuickBASIC sequential and random access files.

The maximum length for a string resource is 255 characters. You can invoke the QuickBASIC Toolbox Library (MBLC) routines such as SaveString and GetString to save and retrieve strings to and from resource files. Other Toolbox library string routines are listed on Page 473 of the &quot;Microsoft QuickBASIC for Apple Macintosh: Language Reference&quot; manual.

Additional query words: MQuickB

Keywords: KB37300

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.