Post Reply 
How much memory may a HPPL program use on a G2?
09-05-2023, 09:41 AM
Post: #11
RE: How much memory may a HPPL program use on a G2?
(09-04-2023 06:02 PM)Stefan Falk Wrote:  Sure, there will be ways to overcome the limitation. One just needs to know the problem ;-) Thanks for all input.

You can use a text string to emulate a list. The HP Prime allows you to create very long text strings. I managed to create a text string with a length of over 500000 characters.
You can use characters from A to Z as equivalents for values from 1 to 27, or even directly manipulate the string chars using the ASC and CHAR commands. For entries longer than one character, each entry should start with an unusual character, like "|" (pipe), so you can search for entries using the INSTRING command (equivalent to the POS function for lists). If such a solution is correctly used for lists, it can be quite efficient.

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


Messages In This Thread
RE: How much memory may a HPPL program use on a G2? - komame - 09-05-2023 09:41 AM



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