WriteRecords (Dataset subroutine): Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
|||
Line 7: | Line 7: | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>dataset</th> | <tr><th>dataset</th> | ||
<td>Dataset object</td></tr> | <td>A reference to an instance of a <var>Dataset</var> object.</td></tr> | ||
<tr><th>stringlist</th> | <tr><th>stringlist</th> | ||
<td><var>Stringlist</var> object</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>number<br/> | <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> | ||
<tr><th><var>For</var></th> | <tr><th><var>For</var></th> | ||
<td>number<br/> | <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> | ||
</table> | </table> | ||
==Usage notes== | ==Usage notes== | ||
==Examples== | ==Examples== | ||
==See also== | ==See also== | ||
{{Template:Dataset:WriteRecords footer}} | {{Template:Dataset:WriteRecords footer}} |
Revision as of 21:24, 25 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. |
---|---|
stringlist | A Stringlist object; items from this are written to dataset. |
From | A number specifying one less than the number of the first item of stringlist to write. It must be less than the value of stringlist:Count. The default value of this argument is 0. |
For | The number of stringlist items to write. The default value of this argument is stringlist:Count - From. |