WriteRecords (Dataset subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
 
Line 8: Line 8:
<tr><th>dataset</th>
<tr><th>dataset</th>
<td>A reference to an instance of a <var>Dataset</var> object.</td></tr>
<td>A reference to an instance of a <var>Dataset</var> object.</td></tr>
<tr><th>stringlist</th>
<tr><th>sl</th>
<td>A <var>Stringlist</var> object; items from this are written to <var class="term">dataset</var>.</td></tr>
<td>A <var>Stringlist</var> object; items from this are written to <var class="term">dataset</var>.</td></tr>
<tr><th><var>From</var></th>
<tr><th><var>From</var></th>
<td>A number specifying one less than the number of the first item of <var class="term">stringlist</var> to write.  It must be less than the value of <var class="term">stringlist</var>:<var>[[Count (Stringlist function)|Count]]</var>.<br/>The default value of this argument is 0.</td></tr>
<td>A number specifying one less than the number of the first item of <var class="term">sl</var> to write.  It must be less than the value of <var class="term">sl</var>:<var>[[Count (Stringlist function)|Count]]</var>.<br/>The default value of this argument is 0.</td></tr>
<tr><th><var>For</var></th>
<tr><th><var>For</var></th>
<td>The number of <var class="term">stringlist</var> items to write.<br/>The default value of this argument is <var class="term">stringlist</var>:<var>[[Count (Stringlist function)|Count]]</var> - <var class="term">From</var>.</td></tr>
<td>The number of <var class="term">sl</var> items to write.<br/>The default value of this argument is <var class="term">sl</var>:<var>[[Count (Stringlist function)|Count]]</var> - <var class="term">From</var>.</td></tr>
</table>
</table>



Latest revision as of 16:23, 26 April 2017

Write multiple records to this dataset (Dataset class)


This page is under construction.

Syntax

dataset:WriteRecords( sl, [From= number], [For= number]) Throws WriteError

Syntax terms

dataset A reference to an instance of a Dataset object.
sl A Stringlist object; items from this are written to dataset.
From A number specifying one less than the number of the first item of sl to write. It must be less than the value of sl:Count.
The default value of this argument is 0.
For The number of sl items to write.
The default value of this argument is sl:Count - From.

Usage notes

Examples

See also