Text File Object Functions

From Danmakufu Wiki
Jump to: navigation, search

ObjFileT_GetLineCount

Arguments:
 1) object ID (real)

Returns number of lines in text file.

ObjFileT_GetLineText

Arguments:
 1) object ID (real)
 2) line number, starting from 1 (real)

ObjFileT_AddLine

Arguments:
 1) object ID (real)
 2) line to add (string)

Appends a line to the end of the file.

ObjFileT_ClearLine

Arguments:
 1) object ID (real)

ObjFileT_SplitLineText

Arguments:
 1) object ID (real)
 2) ??? (real)
 3) ??? (real)