Viva Clipper !

Descend()

Advertisements

DESCEND()

Inverts an expression of string, logical, date or numeric type.

Syntax

      DESCEND( <xExp> ) --> xExpInverted

Arguments

<xExp> is any valid expression.

Returns

Inverted value of the same type as passed.

Description

This function converts an expression in his inverted form. It is useful to build descending indexes.

Examples

      // Seek for Smith in a descending index
      SEEK DESCEND( "SMITH" )

Tests

      DATA->( DBSEEK( DESCEND( "SMITH" ) ) )
      will seek "SMITH" into a descending index.

Compliance

Clipper

Files

Library is rtl

Seealso

INDEX, SEEK

Advertisements

Advertisements