Read from file (multiple lines)

Got a problem you cannot solve? Try here.
Post Reply
tommykjensen
Posts: 29
Joined: Fri Jan 16, 2009 11:56 am
Location: Denmark
Contact:

Read from file (multiple lines)

Post by tommykjensen »

I am playing around with the sample project "Online User Authentication" and I have made my online script that properly can return OK or NOT OK depending on validation result.

However the sample only checks the first and I would like to return several lines is the result is OK.

I want to return a custom code that is to be inserted in a generated INI file and I also want to return a couple more information to insert in the INI to avoid the user having to do it themself. This is to ensure the information is correct or the application won't work.

So how do I read multiple lines and insert them into different variables ?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Just call Read from Text File multiple times with different variable names, or call Get INI File Settings again multiple times for each setting you need to read.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
tommykjensen
Posts: 29
Joined: Fri Jan 16, 2009 11:56 am
Location: Denmark
Contact:

Post by tommykjensen »

Thanks. I got it to work.
Post Reply