Tv ReadTextFile
From TVPaintWiki
<<<George<<<Command Reference<<<File Management
tv_readtextfile linenumber filename
return linenumber and line readed or EOF if the linenumber is after the end of the file
TO read a folder use
tv_readtextfile line folderPath
with line = file number
Examples
Read Entire File
text = "" loop = 1 line = 0 while ( loop==1 ) tv_readtextfile line "c:/windows/system.ini" parse result eof string if ( CMP( eof, "EOF" ) == 1) loop = 0 else text = text""string end line = line + 1 end