GetNextRecord (FastUnloadTask function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 1: Line 1:
{{Template:FastUnloadTask:GetNextRecord subtitle}}
{{Template:FastUnloadTask:GetNextRecord subtitle}}


This [[Notation conventins for methods#Callable methods|callable]]
This [[Notation conventions for methods#Callable methods|callable]]
method requests the next record from the <var class="product">[[Fast/Unload]]</var> task method object,
method requests the next record from the <var class="product">[[Fast/Unload]]</var> task method object,
and it returns the
and it returns the
Line 10: Line 10:
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%funtstate</th>
<tr><th>%fastUnloadTaskState</th>
<td>A declared enumeration object of type <var>FastUnloadTaskState</var> to contain the state of ''%funtask'' after <var>[[FastUnloadTask (GetNextRecord function)|GetNextRecord]]</var> retrieves the record from ''%funtask''.
<td>A declared enumeration object of type <var>FastUnloadTaskState</var> to contain the state of <var class="term">fastUnloadTask</var> after <var>FastUnloadTask (GetNextRecord function)|GetNextRecord</var> retrieves the record from <var class="term">fastUnloadTask</var>.
</td></tr>
</td></tr>
<tr><th>%funtask</th>
<tr><th>fastUnloadTask</th>
<td>An instantiated <var>FastUnloadTask</var> object variable.
<td>An instantiated <var>FastUnloadTask</var> object variable.
</td></tr></table>
</td></tr></table>


Line 21: Line 20:


<var>GetNextRecord</var> can only be called when
<var>GetNextRecord</var> can only be called when
''%funtask'' is in the <var>Started</var> or <var>HaveRecord</var> state.
<var class="term">fastUnloadTask</var> is in the <var>Started</var> or <var>HaveRecord</var> state.
If called in the <var>Done</var> state, the request is cancelled.
If called in the <var>Done</var> state, the request is cancelled.
==See also==
==See also==
{{Template:FastUnloadTask:GetNextRecord footer}}
{{Template:FastUnloadTask:GetNextRecord footer}}

Revision as of 20:56, 29 April 2011

Get next record from Fast/Unload (FastUnloadTask class)


This callable method requests the next record from the Fast/Unload task method object, and it returns the new state of that FastUnloadTask object as a FastUnloadTaskState enumeration value.

Syntax

[%fastUnloadTaskState =] fastUnloadTask:GetNextRecord

Syntax terms

%fastUnloadTaskState A declared enumeration object of type FastUnloadTaskState to contain the state of fastUnloadTask after FastUnloadTask (GetNextRecord function)|GetNextRecord retrieves the record from fastUnloadTask.
fastUnloadTask An instantiated FastUnloadTask object variable.

Usage notes

GetNextRecord can only be called when fastUnloadTask is in the Started or HaveRecord state. If called in the Done state, the request is cancelled.

See also