Library data object
|
10-09-2019, 12:57 PM
(This post was last modified: 10-10-2019 10:00 PM by Giuseppe Donnini.)
Post: #7
|
|||
|
|||
RE: Library data object
(10-08-2019 09:38 PM)David Hayden Wrote: Suppose you have a library that needs to use a LIBDATA object. Where do you store it? Do you mean as an end user or as a library developer? As a user, you will necessarily have to follow the protocol established by the developer of a given library. In principle, the accompanying documentation should provide all necessary information. As a developer, you may store library data objects wherever you want in semi-permanent RAM, i.e. in USEROB (which comprises the HOME directory, the hidden directory, and any other, ordinary, subdirectory) or in unmerged Port Memory (ports 0-2 on an HP-48SX; ports 0-33 on an HP-48GX). It is quite straightforward to code the access routines in such a way that the exact location of the variable becomes irrelevant. (10-08-2019 09:38 PM)David Hayden Wrote: Does the library config routine put it in the hidden directory? Or does it go somewhere else? Per se, the library configuration routine bears no connection to the handling of library data objects. Again, it all depends on the developer, who may or may not choose to create default objects in the hidden directory (or anywhere else) during configuration time. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Library data object - cahlucas - 08-29-2019, 11:43 PM
RE: Library data object - Giuseppe Donnini - 08-31-2019, 04:23 AM
RE: Library data object - cahlucas - 09-02-2019, 10:47 PM
RE: Library data object - cahlucas - 10-06-2019, 06:32 PM
RE: Library data object - Giuseppe Donnini - 10-09-2019, 11:49 AM
RE: Library data object - David Hayden - 10-08-2019, 09:38 PM
RE: Library data object - Giuseppe Donnini - 10-09-2019 12:57 PM
|
User(s) browsing this thread: 4 Guest(s)