Very simple - How to execute sub statements before the end statement 
Author Message
 Very simple - How to execute sub statements before the end statement

How do I execute statements one at a time within a sub procedure before the
end statement is reached? I.e., I want to execute one statement before the
next statement is executed. I could swear there is just a one- or two-word
phrase that does this, but damned if I can find it.

Thanks,
Tony



Wed, 23 Jan 2002 03:00:00 GMT  
 Very simple - How to execute sub statements before the end statement
Tony:
There appears to be something missing in the description of your "problem".  A
VB EXE application always does execute one statement before moving on to the
next one.  If you want to step through a program one statement at at time while
in the IDE, use F8.

John........

Quote:

> How do I execute statements one at a time within a sub procedure before the
> end statement is reached? I.e., I want to execute one statement before the
> next statement is executed. I could swear there is just a one- or two-word
> phrase that does this, but damned if I can find it.

> Thanks,
> Tony



Wed, 23 Jan 2002 03:00:00 GMT  
 Very simple - How to execute sub statements before the end statement
Tony, are you by any chance thinking of DoEvents?

Quote:

>Tony:
>There appears to be something missing in the description of your "problem".
A
>VB EXE application always does execute one statement before moving on to
the
>next one.  If you want to step through a program one statement at at time
while
>in the IDE, use F8.

>John........


>> How do I execute statements one at a time within a sub procedure before
the
>> end statement is reached? I.e., I want to execute one statement before
the
>> next statement is executed. I could swear there is just a one- or
two-word
>> phrase that does this, but damned if I can find it.

>> Thanks,
>> Tony



Wed, 23 Jan 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Expected:line number or label or statement or end of statement

2. With...End With statement bombing out in For...Next statement

3. Expected End of Statement - Must be simple, but...

4. END Statement doesn't end program!

5. Need help with this Code...Expectes line number or end of statement

6. Bogus Error Msg 3137: Missing semicolon at end of SQL statement

7. vbscript syntax error - expected end of statement

8. Help!"expect: , or end-of-statement"

9. Expected End of Statement

10. END statement problem

11. Why not use the End Statement ?

12. Crash when using the End statement

 

 
Powered by phpBB® Forum Software