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 
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
Post Reply 


Messages In This Thread
Problem with table - maozhitao - 08-25-2021 02:02 AM
RE: Problem with table - roadrunner - 08-26-2021, 12:37 PM



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