Add store_csv_line method for File

This commit is contained in:
Kanabenki
2018-11-13 12:53:24 +01:00
parent a2e4eb7533
commit 48166a9f3c
5 changed files with 50 additions and 10 deletions

View File

@ -100,7 +100,7 @@
<argument index="0" name="delim" type="String" default="&quot;,&quot;">
</argument>
<description>
Returns the next value of the file in CSV (Comma Separated Values) format. You can pass a different delimiter to use other than the default "," (comma).
Returns the next value of the file in CSV (Comma Separated Values) format. You can pass a different delimiter to use other than the default "," (comma), it should be one character long.
</description>
</method>
<method name="get_double" qualifiers="const">
@ -327,6 +327,17 @@
Stores the given array of bytes in the file.
</description>
</method>
<method name="store_csv_line">
<return type="void">
</return>
<argument index="0" name="values" type="PoolStringArray" default="&quot;,&quot;">
</argument>
<argument index="1" name="delim" type="String" default="&quot;,&quot;">
</argument>
<description>
Store the given [PoolStringArray] in the file as a line formatted in the CSV (Comma Separated Values) format. You can pass a different delimiter to use other than the default "," (comma), it should be one character long.
</description>
</method>
<method name="store_double">
<return type="void">
</return>