Post Reply 
How to use AVars and AFiles
05-27-2015, 01:31 PM (This post was last modified: 05-27-2015 01:32 PM by Tim Wessman.)
Post: #2
RE: How to use AVars and AFiles
Either and both.

Make sure the app is running, then do AVars("YourAppVarName"):=Gasses or AFiles("YourFileName"):=GasVars

The difference comes in the way you interact with them. A file cannot be used and accessed directly. You will need to store into a variable to use it. The file *will not* take up the limited system RAM you have except for the instant you are using it. A variable will *always* stay in memory and be taking that RAM even when your app is not in use.

LOCAL mylist;
mylist:=AFiles("YourFileName");
mylist(1)
...

vs

YourVarName(1)
...

So basically it boils down to how large your variables are. If you are trying to store 3MB of data for example, a file would most likely be the way to go.

TW

Although I work for the HP calculator group, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
How to use AVars and AFiles - Bob Frazee - 05-26-2015, 11:05 PM
RE: How to use AVars and AFiles - Tim Wessman - 05-27-2015 01:31 PM



User(s) browsing this thread: 1 Guest(s)