Operations on tables: Difference between revisions

From Dynamo
Jump to navigation Jump to search
Created page with "The basic command to choose elements inside a table is {{docfunction|dynamo_table_grep|dtgrep}} ===Excluding sets of tags== In order to exclude a set of tags, use the flag{{..."
 
Line 1: Line 1:
The basic command to choose elements inside a table is {{docfunction|dynamo_table_grep|dtgrep}}
The basic command to choose elements inside a table is {{docfunction|dynamo_table_grep|dtgrep}}


===Excluding sets of tags==
===Excluding sets of tags===


In order to exclude a set of tags, use the flag{{t|exclude}}:
In order to exclude a set of tags, use the flag{{t|exclude}}:


<tt> tr = dtgrep(t,'exclude',[5,9,10:15]); </tt>
<tt> tr = dtgrep(t,'exclude',[5,9,11:15]); </tt>


would explore the table {{t|t}} and create the output table {{t|tr}}.
would explore the table {{t|t}} and create the output table {{t|tr}}, excluding any rows with tags 5,9, 11:15.

Revision as of 09:03, 23 May 2016

The basic command to choose elements inside a table is dtgrep

Excluding sets of tags

In order to exclude a set of tags, use the flagexclude:

tr = dtgrep(t,'exclude',[5,9,11:15]);

would explore the table t and create the output table tr, excluding any rows with tags 5,9, 11:15.