Description:
Perform parallel computation over a multicursor.
Syntax:
fork cs
Note:
The function performs parallel computation over multicursor cs. Within a parallel computing code block, the referenced cell represents the current thread of cursor.
Parameter:
cs |
A multicursor |
Example:
|
A |
B |
|
1 |
=file("employee.txt") |
=A1.cursor@mt() |
Create a multicursor based on employee.txt and return it. |
2 |
fork B1 |
|
Perform parallel computation over the multicursor. |
3 |
|
=A2.select().fetch() |
Get records from each thread of cursor by loop |