Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

SORT# returns a string containing a sorted Telitab set

Syntax

SORT#(Telitab$, SortPar$, [Mode%=0 or 1])

Arguments 

  • Telitab$ is a string expression containing/returning a Telitab set.
  • SortPar$ is SortPar$ is a name of parameter for which the Telitab$ will be unfolded and subsequently sorted.
  • Mode% is a optional sort modus:
    • Mode%=0, will sort cases for SortPar$ values for SortPar$ values from low to high (ascending).
    • Mode%=1, will sort cases for SortPar$ values for SortPar$ values from high to low (descending).

...


"PROJECTS" 


"CLIENT$" "YardX" 

-4 "1" "2" "3" "4" 
"MODMAT$" "plywood" "foam" "wood" "wood" 
"LPP" 145.00 133.80 112.30 98.60 
"B" 22.40 21.50 17.80 16.42 
"T" 9.40 9.20 7.65 6.70 

If SortPar$ contains If SortPar$ contains a parameter which does not occurr in the Telitab$ set, an error message is returned:

...