Post Reply 
Files on HP Prime Question
05-15-2015, 02:41 AM
Post: #4
RE: Files on HP Prime Question
Oops, that should be G1:=AFiles("doc_1_1.png") instead.

With the AFiles command, you basically have access for two types of objects at the moment - THPObj (which is what we call any HP object - list, real number, string, etc that you can generate in the calculator) and PNG files.

Any time you save anything using the AFiles command, it will be a THPObj. If you are saving one of the GROB objects, or loading into them however a conversion to a PNG format will save the file to the disk or load from PNG.

Thus doing AFiles("screen"):=G0 will save your current screen as a png named "screen" in your current app directory.

You can of course use other objects but we have no way to give you nice, direct access to them. You can use the AFilesB to save/load direct binary content in a byte by byte fashion but this will be rather tricky.

TW

Although I work for HP, 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
Files on HP Prime Question - mandresve - 05-14-2015, 01:48 AM
RE: Files on HP Prime Question - mandresve - 05-15-2015, 01:08 AM
RE: Files on HP Prime Question - Tim Wessman - 05-15-2015 02:41 AM
RE: Files on HP Prime Question - mandresve - 05-15-2015, 04:30 AM
RE: Files on HP Prime Question - debrouxl - 05-15-2015, 07:57 PM
RE: Files on HP Prime Question - mandresve - 05-16-2015, 12:56 AM
RE: Files on HP Prime Question - debrouxl - 05-16-2015, 07:18 AM
RE: Files on HP Prime Question - mandresve - 05-16-2015, 11:39 PM
RE: Files on HP Prime Question - mandresve - 05-18-2015, 05:56 AM
RE: Files on HP Prime Question - critor - 05-20-2015, 10:10 PM
RE: Files on HP Prime Question - critor - 05-21-2015, 03:43 PM
RE: Files on HP Prime Question - critor - 05-24-2015, 09:49 AM
RE: Files on HP Prime Question - jte - 05-21-2015, 06:38 PM
RE: Files on HP Prime Question - debrouxl - 05-21-2015, 06:02 AM
RE: Files on HP Prime Question - Adriweb - 05-21-2015, 03:48 PM
RE: Files on HP Prime Question - critor - 05-21-2015, 04:56 PM
RE: Files on HP Prime Question - critor - 05-21-2015, 06:45 PM



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