Navigation:  MCL Reference > List Functions >

ListDescVal( )

Print this Topic Previous pageReturn to chapter overviewNext page

This function is almost identical to ListDescItem( ) except that, in this function, items (or sub-item), which is to be sorted, will be converted to numbers for sorting. Please see ListAscItem( ) and ListDescItem( ) for function details.

 

Syntax

ListDescVal(cValueExpr,nItemNumber,cSeparator,nSortSubItem,cSubItemSeparator,cReturnType)

Or

ListDescVal(cValueExpr,nItemNumber,cSeparator,cSortExpr,cSubItemSeparator,cReturnType)

 

Returns

Character

 

Example

ListDescVal("8,4,12",1)

Returns '12'。Compare ListAscItem("8,4,12",1), which will return  '8'. It is because to in text text comparison, '12' is smaller than '8' since '1' < '8'.

 

See also

ListDescItem( ) | ListAscItem( ) | ListAscVal( ) | ListItem( ) | ListVal( ) | ListSum( ) | ListAverage( ) | ListFilter( ) |

 

 


Page url: http://www.racematenet.com/english/help/index.html?listdescval.htm