T.close()

Read(885) Label: close cluster table,

Description

Close a cluster table.

Syntax:

T.close()

Note:

The function closes a cluster table. It clears memory when T is a cluster in-memory table created by T.memory().

Parameter:

T

A cluster table

Example:

 

A

 

1

=file("dept.ctx":[1],["192.168.0.104:8281"])

 

2

=A1.open()

Open a cluster table.

3

=A2.attach(t1)

Return an existing attached table t1 in A2’ composite table.

4

=A2.memory(DEPTID,DEPTNAME;DEPTID<10)

Generate a cluster in-memory table from table t1.

5

=A2.close()

Close the cluster table and clear memory.