How does it wotk?
I want to read to content of the file "C:/test.edl"
should this work?
tv_readtextfile "C:/test.edl"
And is the result the content of the text file?
-mads
tv_readtextfile how?
Re: tv_readtextfile how?
tv_readtextfile linenumber filename
return linenumber and line readed or EOF if the linenumber is after the end of the file
example:
return linenumber and line readed or EOF if the linenumber is after the end of the file
example:
Code: Select all
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
tv_warn text
Hervé ADAM, TVPaint Team
Re: tv_readtextfile how?
Ahh thank you Herve
in the Changes.txt in the SDk it says
it is a little confusing it should be changed to
-Mads
in the Changes.txt in the SDk it says
Code: Select all
tv_readtextfile FileNumber FOLDER_Name
Code: Select all
tv_readtextfile linenumber filename