05-21-2022, 08:22 AM
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.
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.