Post Reply 
Program "project" structure - how to use?
09-11-2023, 05:12 AM (This post was last modified: 09-14-2023 05:48 PM by komame.)
Post: #6
RE: Program "project" structure - how to use?
What I'm talking about in this thread is a much younger mechanism than the application, but I don't think anyone has fully used it yet. Probably because no one thought to read the description hidden under the [Help] key when the |Files| item is currently highlighted in the |More| upward-expanding menu Wink
Tim mentioned this new mechanism several times, but he never showed an example, and no one knew what it was about (while there was some information about it in the beta notes, there's nothing like a good example of applying the new mechanism in some practical solution). The HP Prime app has its own icon, and you run it from the Application Librabry, while a "project" is something visible on the list in the Program Catalog. The resource mechanism allows you to store multiple files under one entry in the Program Catalog. For example, you can split one program into several PPL source code files (Python as well, but that's a slightly different story). This makes it easy to edit them because they are smaller and functionally divided, and during compilation, all of them are verified at once, not just the one currently open. In the project, you can also have graphic files. Additionally, binary files are also available, which can be edited directly on the Prime using hexadecimal codes. The files in a specific project are visible only to that particular project (similar to AFilesB, but here it pertains to programs in the Program Catalog), and they are not reset after using |Check|, so you can use them, for example, to save the current state of the program and then load it to continue its operation during the next run.

When you have multiple files within a project, you can switch between them (and create new files) while editing the program using the |More| => |Files| menu.
Of course, these additional files are also visible during program editing directly in the Connectivity Kit, where you can also manage these files.

Best regards,
Piotr

Piotr Kowalewski
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Program "project" structure - how to use? - komame - 09-11-2023 05:12 AM



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