Business BASIC III: Print Using
This article has been archived and is no longer updated by Apple.
The string specification in Print Using takes only as many characters of a
long string as are required to fill its field length; hence, the rest of the
string is ignored. This example:
A$ = "abcdefghijklmnopqrstuvwxyz"
Print Using "3X,10A,3X";A$
returns:
abcdefghij
A$ is truncated to 10 characters. Use the MID$ function to split up a string
into multiple lines.
long string as are required to fill its field length; hence, the rest of the
string is ignored. This example:
A$ = "abcdefghijklmnopqrstuvwxyz"
Print Using "3X,10A,3X";A$
returns:
abcdefghij
A$ is truncated to 10 characters. Use the MID$ function to split up a string
into multiple lines.
Last Modified: Feb 18, 2012