Post Reply 
Access Note using string variable
12-29-2017, 04:40 PM (This post was last modified: 12-29-2017 04:46 PM by StephenG1CMZ.)
Post: #3
RE: Access Note using string variable
(12-29-2017 02:52 PM)Stevetuc Wrote:  Notes("my.txt") works fine. (If my.txt exists under Notes)

But if I try say:
I get invalid input.

Ive tried various things using EXPR(STRING()) but no joy
Any ideas how to reference Notes via a stringvar?

Seems to work OK here on Android.

 LOCAL m1:="my.txt";

The only time I saw Invalid Input was before I created the file, so I suggest checking the filename matches (I think it is case sensitive). Also suggest avoiding names like M1 just in case there is confusion with Matrix Number 1 (which cannot hold strings).
Are you seeing the Invalid Input when you assign a string to m1 or when you execute Notes(m1)?

Stephen Lewkowicz (G1CMZ)
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Access Note using string variable - StephenG1CMZ - 12-29-2017 04:40 PM

User(s) browsing this thread: