AutoPatrol, Bureaucrats, Administrators
481
edits
(Created page with "Class representing open file (returned by OpenFile function). '''Class Name''' FILE '''Attributes''' {| class="wikitable" |- ! Name !! Type !! Descript...") |
m (Text replacement - "^" to "{{deprecated}}") |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
Class representing open file (returned by [[NXSL:OpenFile|OpenFile]] function). | {{deprecated}}Class representing open file (returned by [[NXSL:OpenFile|OpenFile]] function). | ||
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]] |