Jump to content
Sign in to follow this  
ab21

Confused By Loops

Recommended Posts

ab21

If......     Then......


Do
    if ......
    .
    .
                .

    Do
        .
        .
    Until ...
    
    .
    .
    .
    .
    
    If ......
        .
        .
        .
    EndIf
Until ......
EndIf

basically this is the skeleton of the loop, the problem is, whenever i add more codes after this code, they are not being executed... i don't think this loop here suppose to end the entire script. what did i do wrong?

Share this post


Link to post
Share on other sites
buzz44

Your missing and EndIf in the above 'sample'. Are you sure that it actually does finish the loop? and is not stuck in there. Add a couple message boxes in certains part to see if it does infact reach it. Without seeing your code we can't help much.

Edited by Burrup

qq

Share this post


Link to post
Share on other sites
ab21

i'll try to add some msgboxes, the reason why i didn't post the code is becuz it's not mine, i'm editing someone else's source code for my own useage. hope u can understand.

Share this post


Link to post
Share on other sites
MarkMarkMark

pm me the sourcecode.. mayb i can help

Share this post


Link to post
Share on other sites
ab21

i added a msgbox line after the entire loop, it didn't execute... there's something wrong with the loop, too bad i can't see it

Share this post


Link to post
Share on other sites
buzz44

Do what lazycat suggested and add more message boxes or move the current one to different loops.


qq

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.