Here’s how to use conjx() function.
Description:
Union the members of a cursor sequence, and return result as a cursor.
Syntax:
CS.conjx()
Note:
The function concatenates members of CS, a sequence of cursors, and returns result as a cursor. This is actually the merging of data in the cursors. Each cursor in CS must have the same structure.
Parameter:
CS |
A sequence of cursors |
Return value:
Cursor
Example:
|
A |
B |
|
1 |
=directory@p("D://txt//") |
=[] |
Below are the three files in the txt folder: |
2 |
for A1.len() |
|
|
3 |
|
=file(A1(A2)) |
|
4 |
|
=B3.cursor@t() |
|
5 |
|
>B1=B1|B4 |
Store the cursor sequence in B1 |
6 |
=B1.conjx() |
|
Union the cursors |
7 |
=A6.fetch() |
|
Fetch data from the cursor |
Related function: