T.()

Read(26) Label: pseudo table, expression,

Description:

Compute the specified expression on each record in a pseudo table.

Syntax:

T. (x)

Note:

The function computes a specific expression on each record in pseudo table T and returns the same pseudo table after computation.

This is a delay function.

Parameters:

T

A pseudo table

Fi

An expression, generally a field name or a legal expression of field name combination, which uses ~ to reference the current record

Return value:

A pseudo table

Example:

 

A

 

1

=file("emp.ctx").open().pseudo()

Generate a pseudo table

2

=A1.(age(BIRTHDAY))

Calculate age according to birthday

3

=A1.import()

4

=file("student.ctx").open().pseudo()

Generate a pseudo table

5

=A4.(AGE)

Get AGE column from A4’s pseudo table

6

=A5.import()

7

=A5.(~*~)

Use ~ to represent the current member of the sequence

8

=A7.import()

9

=file("emp_Ch.ctx").open().pseudo()

Generate a pseudo table

10

=A9.()

Return A9’s pseudo table

11

=A10.import()