Page 1 sur 1

table: suppress a element

Publié : jeu. avr. 18, 2019 2:26 pm
par compsystems
Hi, I'm trying to delete an entry from the table. What is the command?

tbl1:= table( 1=-10,"b"=20,"c"=30,"d"=40,"a"=10) >
table(
1 = -10,
"a" = 10,
"b" = 20,
"c" = 30,
"d" = 40
)

tbl1:= suppress( tbl1,"b" ) >
table(
1 = -10,
"a" = 10,
"c" = 30,
"d" = 40
)

Thanks

Re: table: suppress a element

Publié : jeu. avr. 18, 2019 6:44 pm
par parisse
purge(tbl1[1])