QuickBASIC Maximum String Size Is 32767; 255 Saved as Resource (37300)






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.

Modification Type: Minor Last Reviewed: 1/8/2003
Keywords: KB37300