I need to add a return (new line) in a txt,is it "/n" or something like that?
Also is there a method for replacing a particular line number in a txt?
like, goto line 24
if BLANK then
WRITE TEXT
else
OVERWRITE TEXT
end
?
Professional Software Development Tools
I need to add a return (new line) in a txt,is it "/n" or something like that?
Also is there a method for replacing a particular line number in a txt?
like, goto line 24
if BLANK then
WRITE TEXT
else
OVERWRITE TEXT
end
?
A newline on Windows systems consists of a carriage return and linefeed, which can be represented in strings using: "\r\n".
To replace a line in a text file, you might want to check out the TextFile.ReadToTable and TextFile.WriterFromTable actions.
--[[ Indigo Rose Software Developer ]]
Thanks Lorne