tutor2000 Posted July 12, 2004 Share Posted July 12, 2004 Aloha gang I'm using a do until for my submission proggy. How can I exit only after running the default values of the ini file which would obvously be the last values submitted? The number of entries can change therefore a counter from the beginning would not work. Rick Link to comment Share on other sites More sharing options...
cowsmanaut Posted July 12, 2004 Share Posted July 12, 2004 (edited) Pre-define in your INI or input box the number of times. $i=Iniread("C:\test\My_new.ini", "key", "counter") or $i=inputbox("input","how many times","","") moo (BTW.. I'm just typing those off the top of my head.. so copy/pasting them probably won't work. but in principal they should work ) edit: oh and $i should still be in the counter.. you are just defining it here for $A = $A + 1 do untill $A= $i or whatever Edited July 12, 2004 by cowsmanaut Link to comment Share on other sites More sharing options...
tutor2000 Posted July 12, 2004 Author Share Posted July 12, 2004 Pre-define in your INI or input box the number of times.$i=Iniread("C:\test\My_new.ini", "key", "counter")or $i=inputbox("input","how many times","","")moo (BTW.. I'm just typing those off the top of my head.. so copy/pasting them probably won't work. but in principal they should work ) edit:oh and $i should still be in the counter.. you are just defining it herefor $A = $A + 1do untill $A= $ior whateverThanks I started messing with that ideaI can do a count of an ini section since they are all equal using a do until getting the default varThanks againRick 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