Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.lang.basic.misc > #364

HotPaw BASIC for iPad - I/O questions

From Fred McKenzie <fmmck@aol.com>
Newsgroups comp.lang.basic.misc
Subject HotPaw BASIC for iPad - I/O questions
Date 2013-01-23 18:21 -0500
Organization Aioe.org NNTP Server
Message-ID <fmmck-8E3D16.18214623012013@5ad64b5e.bb.sky.com> (permalink)

Show all headers | View raw


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

Back to comp.lang.basic.misc | Previous | NextNext in thread | Find similar


Thread

HotPaw BASIC for iPad - I/O questions Fred McKenzie <fmmck@aol.com> - 2013-01-23 18:21 -0500
  Re: HotPaw BASIC for iPad - I/O questions "R.Nicholson" <rhnlogic@yahoo.com> - 2013-12-04 08:56 -0800

csiph-web