Post Reply 
Hp prime questions (plus little explorations).
01-01-2018, 07:59 PM (This post was last modified: 01-01-2018 08:50 PM by pier4r.)
Post: #45
RE: Hp prime questions (plus little explorations).
Updates. The virtual calculator is even better than the HP prime pro app in the app store. The keyboard is properly recognized. When I type '(' actually '(' is recognized, not '*'.

Then so far the only way to break the current memory limit for lists (10k elements), notes (64k chars) or strings (64k chars) - I am still hoping that someone knows a robust workaround - seems to allocate list of list.

I just allocated 100 lists of 1000 elements each (so 100k elements) and it seems to work.

I was unable, though, to find an equivalent of BYTES (50g command) so I do not know how much memory it uses.
EDIT. Shift + Mem shows the memory, click Lists. L0 at the moment uses 1.53MB. Not bad.
The connection to the connectivity kit (and the connectivity kit itself) is golden though, as I can retrieve the value and save it properly, while from the calculator itself is a pain.
Through the connectivity kit, copying all the lists produces a result of 562k chars in notepad++.

The Hp prime app from the MS store is pretty limited -for heavy stuff - without the connectivity kit.

Code:

EXPORT list_of_list_test()
  // can a list hold other lists with a lot of elements inside?
BEGIN
  LOCAL lv_main_list:={};
  LOCAL lv_sublists:=100;
  
  LOCAL lv_index;
  LOCAL lv_var;
  
  FOR lv_index FROM 1 TO lv_sublists DO
    lv_main_list(0):= MAKELIST( lv_var * lv_index, lv_var, 1 , 1000 );
  END;
  
  //store in L0 to see if it worked.
  L0:=lv_main_list;
END;

edit1: it seems that 'alt gr' blocks the shift on the virtual calculator, while 'ctrl + alt' unblocks it.

edit2: the prime app from the MS store does not compute when minimized, the virtual calculator does. The virtual calculator seems really way better. Impressive how locked down is the MS store app.

Wikis are great, Contribute :)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Hp prime questions (plus little explorations). - pier4r - 01-01-2018 07:59 PM



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