SELECT returns a selected data element from a Telitab set or a list of arguments

Syntax

  1. SELECT(Pno%, 1, "ColLab$", Elem%)
  2. SELECT(0, Npoints%, x_1, y_1, x_2, y_2,..., Elem%)
  3. SELECT(@ObjFn(..), 1, @ObjColPar, Elem%)
  4. SELECT(Telitab$, 1, "ColLab$", Elem%)

Arguments

Remarks

  1. See also Telitab access for a generic description on the use of TeLiTab data
  2. Similar to other Data analysis functions, the SELECT is a convenient way to evaluate data. Please also look at these functions for syntax examples

Examples 

Syntax 1: Telitab in Dataslot

The way this function is operated is illustrated using an example in which syntax 1 is used, the TeLiTab is addressed in the Dataslot.

SELECT(1, 1, "YC", x)

With the following Telitab set in the Data slot:

|SELECT1| 

2 "XC" "YC" 
"1" 1 1 
"2" 2 4 
"3" 3 9 
"4" 4 16 
"5" 5 25 
"6" 6 36 
"7" 7 49 
"8" 8 64 
"9" 9 81 
"10" 10 100|

Returns 64 for x = 8.

Syntax 2: Direct definintion

The function:

SELECT(0, 3, 45.4, 23.0, 10.8, x)

returns 10.8 for x = 3.


 

Quick links: Functions overview | Attribute overview | Constants overview | Dimensions overview