HP Forums
Where is the bug,error, in matrix?list2mat? - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Where is the bug,error, in matrix?list2mat? (/thread-10107.html)



Where is the bug,error, in matrix?list2mat? - toshk - 02-05-2018 09:06 PM

Code:

EXPORT mamt()
BEGIN
//LOCAL a:=[["err",1],["errr",2]]; //neither CAS nor Home
LOCAL b:=list2mat({"err",1,"errr",2},2); //does work in Home but not CAS
//LOCAL c:=list2mat(["err",1,"errr",2],2); //neither CAS nor Home
return (b); 
END;