Microsoft KB Archive/37300

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


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 "Microsoft QuickBASIC for Apple Macintosh: Language Reference" manual.


Additional query words: MQuickB

Keywords: KB37300