Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,9 @@
> T := table( [ "A" = 1, "B" = 2, "C" = 3, "D" = 4 ] );
> for i in indices( T, nolist ) do print(i ) end:
"A"
"B"
"C"
"D"

View file

@ -0,0 +1,7 @@
> T := table( [ "a" = 1, "b" = 2, ("c","d") = 3 ] ):
> for i in indices( T ) do print( i, T[ op( i ) ] ) end:
["a"], 1
["b"], 2
["c", "d"], 3

View file

@ -0,0 +1,6 @@
> for i in indices( T, pairs ) do print( i) end:
"a" = 1
"b" = 2
("c", "d") = 3

View file

@ -0,0 +1,6 @@
> for i in entries( T ) do print( i) end:
[1]
[3]
[2]