Category
Function
Selects a member of a group or a list.
Syntax
object = Select(input, which);
Inputs
Name | Type | Default | Description |
---|---|---|---|
input | group, series, value list, string list | none | the object from which one or more members are to be selected |
which | integer, integer list, string list | 0 | the member(s) to be selected |
except | flag | 0 | 0: copy all listed members
1: copy all but listed members |
Outputs
Name | Type | Description |
---|---|---|
object | object | the selected member(s) |
Functional Details
input | is a series or group from which items are to be selected. |
which | specifies the item(s) to be selected. If input is:
If this parameter is not specified, the module selects the first (0th) object. Note: Members of a series can be selected only by ordinal number, not by series position. For both groups and lists, counting begins at 0 (zero). |
except | specifies whether which is to be interpreted as an inclusive or exclusive selection list. |
Notes:
Use Extract to extract the "positions" component.
Use Select on that array, setting which to the appropriate value (e.g., 7 for the eighth position).
You can also use the Select module to select individual frames from a data series, passing the Sequencer output to which.
Components
All input components are propagated to the output.
Example Visual Programs
ConnectingScatteredPoints.net GeneralImport1.net GeneralImport2.net PlotTwoLines.net UsingTextAndTextGlyphs.net
See Also
Collect, CollectNamed, CollectSeries, List
[ OpenDX Home at IBM | OpenDX.org ]