Multiple parameters from .ini file?
Moderators: Dorian (MJT support), JRL
-
- Automation Wizard
- Posts: 1101
- Joined: Fri Jan 07, 2005 5:55 pm
- Location: Somewhere else on the planet
Multiple parameters from .ini file?
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.
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
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
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!
Bob
A humble man and PROUD of it!