Sign in to follow this  
Followers 0
Arrrghmatey

Run from specified line

6 posts in this topic

Hello again,

I have a program that is quite long, and when testing new parts I don't want to sit through ALL the previous actions. Is there a was to 'run from here' so I can begin executing my code from a specific point?

Share this post


Link to post
Share on other sites



Couldn't tell you of a way to do that other than block commenting out what you don't want to do.

If you are using SciTe Editor there are few Debug/Trace options


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

I usually do it this way:

if 1=2 then; ignore start
; lots of code
; lots of code
; lots of code
endif; ignore end

; code

AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

I think the easiest is this

#cs

code

code

#ce

the #cs and #ce are great for this

then when you want to test with all the script just and ";"

;#cs

code

code

;#ce

hope that helps

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Ah, very smart! I didn't even think of this. All of the suggestions are very good. Thanks!

I think the easiest is this

#cs

code

code

#ce

the #cs and #ce are great for this

then when you want to test with all the script just and ";"

;#cs

code

code

;#ce

hope that helps

8)

<{POST_SNAPBACK}>

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