Post Reply 
Problem with table
08-25-2021, 02:02 AM (This post was last modified: 08-25-2021 11:28 PM by maozhitao.)
Post: #1
Problem with table
#cas
tabletest()
begin
d:=table("a"=1,"b"=2)
a:="a"
print(a+"="+d["a"]) //display a=1
print(a+"="+d[a]) //display a=0,I wish it's "a=0".
end;
Find all posts by this user
Quote this message in a reply
08-26-2021, 12:37 PM
Post: #2
RE: Problem with table
Table is not listed in the prime catalog, perhaps it's not fully implemented yet. It works as expected in xcas.
Find all posts by this user
Quote this message in a reply
Post Reply 




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