WriteRecords (Dataset subroutine): Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
|||
(One intermediate revision by one other user not shown) | |||
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> | <tr><th>sl</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">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>number<br/> | <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> | ||
==Usage notes== | ==Usage notes== | ||
==Examples== | ==Examples== | ||
==See also== | ==See also== | ||
{{Template:Dataset:WriteRecords footer}} | {{Template:Dataset:WriteRecords footer}} |
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. |