Skidzhard Posted August 18, 2013 Share Posted August 18, 2013 (edited) hi all, Im a bit stumped on how id go about doing such thing like: i have an ini file with saved text [name] name1=bob name2=jones name3=Richard i know how to go about reading them but how do i create 1 loop that starts with what bob needs then loop ends then reloops with what jones needs and same with Richard just a small example would be nice please Edited August 18, 2013 by Skidzhard Link to comment Share on other sites More sharing options...
Edano Posted August 18, 2013 Share Posted August 18, 2013 how can we know what bob, jones and richard need ? and why loops ? there is only 1 key for each name ? E. [color=rgb(255,0,0);][font="'comic sans ms', cursive;"]FukuLeaks[/color][/font] Link to comment Share on other sites More sharing options...
Blue_Drache Posted August 18, 2013 Share Posted August 18, 2013 (edited) Not going to spoon feed you any code. 1. Show us what you've done. 2. Look into arrays. You can put a loop variable into an array variable's index.... For $x = 1 to 20 $array[$x] = SomeData($x) Next 3. IniRead() 4. Read the help file. Edited August 18, 2013 by Blue_Drache Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now