is it possible to read every line of a textfile and use every entry in a string?
what if this requires more than twenty strings? can i reuse the same string name later.
i want nsis to read lines of a textfile and use the lines for further actions (lets say messagebox for instance)
Read lines in .TXT files
5 posts
Like you said, there are only 20 strings available, and NSIS max string length is 1024 (the default), so no, you can't save the whole text file in memory if it has more than 20 lines.
Why can't you process line by line and just save the lines you need?
Why can't you process line by line and just save the lines you need?
well, thats what i asked for. maybe you could post the code to report every line of a text file in a messagebox.
i think it should be possible with just one string, but i am bad in strings.
i think it should be possible with just one string, but i am bad in strings.
Read the code I wrote here. Just replace the FileWrite and the strring comparsion with a message box.
thank you, stuck in house while Sandy blows through,Originally Posted by kichik View PostRead the code I wrote here. Just replace the FileWrite and the strring comparsion with a message box.
improving a few things in my coding.
and this code helped tremendously.
you and Afrow UK are the only ones i've seen that actually help.
most waste their time patronizing.
that time they wasted, they could've just created a quick example.
something i don't understand.
thank you to you and Afrow UK.
You guys are very generous,
Bless you guys.