Multiple parameters from .ini file?

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Multiple parameters from .ini file?

Post by Me_again » Sun Jan 23, 2005 10:19 pm

What's the best way to read multiple parameters from an ini file? I found ReadIniFile but that appears to only read a single line .ini and I'd like to use 5 parameters/lines.

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Sun Jan 23, 2005 11:24 pm

ReadIniFile>inifile,section,entry,result can read unlimited parameters from INI file. Just change the section and entry as needed. Use a different result for each entry if needed.

Like this:
ReadIniFile>inifile,format,background,result1
ReadIniFile>inifile,format,foreground,result2
ReadIniFile>inifile,format,font,result3
ReadIniFile>inifile,format,size,result4
Last edited by Bob Hansen on Mon Jan 24, 2005 3:23 am, edited 1 time in total.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Mon Jan 24, 2005 1:12 am

Ah, thank you, got it now :D

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts