Difference between revisions of "NXSL:FILE"

593 bytes added ,  16:32, 6 February 2018
no edit summary
(Created page with "Class representing open file (returned by OpenFile function). '''Class Name''' FILE '''Attributes''' {| class="wikitable" |- ! Name !! Type !! Descript...")
 
Line 20: Line 20:


'''Methods'''
'''Methods'''
{| class="wikitable"
|-
! Name !! Parameters !! Return value !! Description
|-
| [[NXSL:FILE:close|close]] || none || none || Close file
|-
| [[NXSL:FILE:read|read]] || int32 || string || Read given number of bytes from file and return them as string
|-
| [[NXSL:FILE:readLine|readLine]] || none || string || Read one line of text from file (returned line will not contain new line character)
|-
| [[NXSL:FILE:write|write]] || string || none || Write given string to file
|-
| [[NXSL:FILE:writeLine|writeLine]] || string || none || Write given string to file and append new line character
|}




[[Category:NXSL Class Reference]]
[[Category:NXSL Class Reference]]
683

edits