Sign in to follow this  
Followers 0
ab21

Confused By Loops

8 posts in this topic

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



#2 ·  Posted (edited)

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

[u]Old Projects:[/u]A3MORGB2Hex[u]Old Functions:[/u]_TimeAdd/_TimeSub_AddComma_BubbleSort _RippleSort "He who does not understand your silence will probably not understand your words." - Elbert Hubbard.

Share this post


Link to post
Share on other sites

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

pm me the sourcecode.. mayb i can help

Share this post


Link to post
Share on other sites

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

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


[u]Old Projects:[/u]A3MORGB2Hex[u]Old Functions:[/u]_TimeAdd/_TimeSub_AddComma_BubbleSort _RippleSort "He who does not understand your silence will probably not understand your words." - Elbert Hubbard.

Share this post


Link to post
Share on other sites

get scite


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