cs.select(x;f)

Read(95) Label: cursor, push,

Description:

Write the records that unsatisfy the specified expression into a bin file.

Syntax:

cs.select(x;f)

Note:

The function computes expression x over each record of cursor cs and writes the records that unsatisfy expression x into the bin file f.

Parameters:

cs

Cursor

x

Boolean expression

f

bin file

Return value:

  The original cursor

Example:

 

A

 

1

=demo.cursor("select * from dept")

 

2

=file("dept.btx")

 

3

=A1.select(DEPTID<5;A2)

Write the records that cannot meet the condition DEPTID<5 into bin file dept.btx

4

=A3.fetch()