Creating file to write to

Post Reply
waltax
Posts: 6
Joined: Tue May 30, 2017 7:13 pm
My devices: iPad mini, iPhone 6plus
Flag: United States of America

Creating file to write to

Post by waltax »

I attempted to print to a file but received a message that I had an invalid file name. At the risk of asking obvious questions, do I need to write to a pre-existing file? If so, how can I create such a file on my iPad that will be recognized by Smart Basic? Is their some Basic command that I have overlooked? Thanks

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: Creating file to write to

Post by Mr. Kibernetik »

Printing to a file example:

Code: Select all

file "test.txt" print 1;2;3

waltax
Posts: 6
Joined: Tue May 30, 2017 7:13 pm
My devices: iPad mini, iPhone 6plus
Flag: United States of America

Re: Creating file to write to

Post by waltax »

Thanks, I kept putting a $ sign in file name.

Post Reply