Fourth World Logo Fourth World Media Corporation
  Embassy Services Products Resources   About Fourth World Contact  

IncWell Logo

SuperCard FAQ

4W Logo

How to I print out the contents of a text field?

SuperCard 3.0 provides an XCMD called "PrintField" in the Xtend project which ships with SuperCard.

For earlier versions of SuperCard, if the textHeight of all lines of text in the field is the same size, you can write a script using SuperCard's textHeightSum function to determine how much of the data is visible in a field in your printing window. Then your script will go into a repeat loop, putting the appropriate amount of text into the field, printing it at each turn, until all the text has been printed.