Post Reply 
Enter date in Prime program?
10-03-2024, 03:13 PM (This post was last modified: 10-03-2024 03:18 PM by komame.)
Post: #15
RE: Enter date in Prime program?
(10-03-2024 02:33 PM)Albert Chan Wrote:  How to you know string equivalent to its ID?
Where to you get the list names?

Cas> STRINGFROMID(2339)      → "January"
Cas> STRINGFROMID(2340)      → "February"

Using an integer as an argument to read a specific string is a deprecated method.

When you read the documentation for the STRINGFROMID command in the HP Prime embedded help, you will find information that the texts are divided into groups. To get a list of identifiers within a specified group, you need to call this command with a negative value ranging from -1 to -40 (actually, it can go down to -41). For example, STRINGFROMID(-1) will return a list where the first element is the name of the group (in this case, "Main"), and the remaining elements are the identifiers of individual texts. To read a specific text, you need to use the group name and the identifier combined with an underscore. Therefore, to access the string CalendarJanruary, you should use "Main_CalendarJanruary."

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


Messages In This Thread
RE: Enter date in Prime program? - Jase - 10-01-2024, 11:29 PM
RE: Enter date in Prime program? - komame - 10-02-2024, 04:17 AM
RE: Enter date in Prime program? - komame - 10-02-2024, 04:35 AM
RE: Enter date in Prime program? - komame - 10-03-2024, 03:37 AM
RE: Enter date in Prime program? - Tyann - 10-03-2024, 05:01 AM
RE: Enter date in Prime program? - komame - 10-03-2024, 07:16 AM
RE: Enter date in Prime program? - komame - 10-03-2024 03:13 PM
RE: Enter date in Prime program? - komame - 10-03-2024, 04:36 PM
RE: Enter date in Prime program? - KeithB - 10-02-2024, 08:48 PM
RE: Enter date in Prime program? - Jase - 10-02-2024, 09:27 PM
RE: Enter date in Prime program? - komame - 10-03-2024, 05:54 AM
RE: Enter date in Prime program? - Jase - 10-03-2024, 11:19 PM



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