Jump to content

Do Until once more


Recommended Posts

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

Only $2.00 with Resale Rights How to Block Better for Martial Artists and NonMartial Artistshttp://kirkhamsebooks.com/MartialArts/Bloc...tterEbook_m.htm

Link to comment
Share on other sites

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 :ph34r:

(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 by cowsmanaut
Link to comment
Share on other sites

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 :ph34r:

(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

Thanks I started messing with that idea

I can do a count of an ini section since they are all equal using a do until getting the default var

Thanks again

Rick

Only $2.00 with Resale Rights How to Block Better for Martial Artists and NonMartial Artistshttp://kirkhamsebooks.com/MartialArts/Bloc...tterEbook_m.htm

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...