I was never able to paste a program into HotPaw BASIC on the iPad.
Perhaps a line-at-a-time would work, but that could be a hassle.
Then I came across "iPadFileExplorer" <
http://www.ipadfileexplorer.com>.
This computer program is capable of transferring files to and from the
iPad. It was necessary to edit the file, "_dirlist.txt" so HotPaw could
see the added file. Then I found that an unlisted file would be added to
the directory by loading it.
Now I am able to write a program that will read data from a file, create
a new file, print to an AirPrint printer and E-Mail a file.
Questions:
1. Is there some way to write data to a file in another App's directory
using a path? For example, would it be possible to use the OPEN command
as OPEN "/path/filename.txt" for output as #1? If so, how would the
path be constructed?
2. Printing to an AirPrint printer uses the OPEN command as OPEN
"lpt1:" FOR OUTPUT AS #1. What other uses of the OPEN FOR OUTPUT
command are available? Would it be possible to use it something like an
OPEN IN command, so data can be sent to another APP?
3. I need to use a fixed-width (mono-spaced) font for text data to be
correctly aligned. Printing to my AirPrint printer results in such a
font being used, although tabs are printed as tiny rectangles. However,
When E-Mailing a file, a generic font is used that does is not align
correctly. Is there any way to change that?
Fred