MATCHCASE returns the case number of the value(s) ithat that best match the arguments given in the function
...
- MATCHCASE(Pno%, Ndim%, "ColLab$_1",.., "ColLab$_Ndim%", Val_1,..,Val_Ndim%-1, [Mode%=0,1])
- MATCHCASE(@ObjFn(..), Ndim%, @ObjColPar_1,.., @ObjColPar_Ndim%, Val_1,..,Val_Ndim%-1, [Mode%=0,1])
- MATCHCASE(Telitab$, Ndim%, "ColLab$_1",.., "ColLab$_Ndim%", Val_1,..,Val_Ndim%-1, [Mode%=0,1])
Arguments
- Pno% is the number that refers to the TeLiTab sets in the Data slot. Pno% should be an integer value or a parameter which is assigned an integer value and is the number of theTeLiTab set in the expressions' data slot.
- @ObjFn() refers to the Object from which data will be used.
- TeLiTab$ refers to the string parameter that contains the TeLiTab.
- Ndim% is the number of dimensions (or columns in the table...).
- "ColLab$_1" and @ObjColPar_1 etc refer to the columns that will be used
- Val_1,..,Val_Ndim%-1 are the value that should be matched with the dataset
- Mode% determines the way of matching
- Mode%=1 full coincide (complete match of all values)
- Mode%=0 coincides the bset (best match of all values)
...
Results in: A=3. This means that case three has the smallest Euclidian distance with the dataset: 2,6,13.
Quick links: Functions overview | Attribute overview | Constants overview | Dimensions overview