The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Error executing command in hprime
05-21-2022, 08:22 AM
Post: #1
Error executing command in hprime
Hello my name is Hebert PV, I like to program in PPL MODE on the HP PRIME, but with the latest updates I detected an error where when creating a program in PPL using a CAS command example:

EXPORT EXAMPLE ()
BEGIN
PRINT;

LOCAL MAT, var_count;
MAT:=[[1,2,3],[4,5,6],[6,7,8]];

var_count:=rowDim(MAT);

PRINT(var_count);

END;

The result in the finish will throw me 3

but when executing the program again, it will throw me a syntax error, so using several commands such as: inv, colDim, maxnorm, row etc.

I tried to solve these problems by creating an own function to count the rows or columns or find the maximum value of a matrix but this should not be the case, those commands worked normally before now since 2020 I detect that error.

I have been programming since 2016, I must make a note that this only happens when executing the code in the emulator since in the physical calculator it works normally.


Attached File(s) Thumbnail(s)
           
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Error executing command in hprime - HebertPV - 05-21-2022 08:22 AM



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