Sign in to follow this  
Followers 0
elitesoldier

Counting Do Statements

3 posts in this topic

this is kinda a hard question i guess.... I use the do and until statements and i wanted to have someway of knowing how many times that do statement is executed and would like to assign. that to a variable.

Thx for your time

Share this post


Link to post
Share on other sites



What about

$count = 0
do
  ...
  $count = $count + 1
until

GrahamS

Share this post


Link to post
Share on other sites

wow i never thought about using it that way, it works exactly as i wanted it too :whistle: tyvm!!!

Share this post


Link to post
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
Sign in to follow this  
Followers 0