Jarvis Posted June 29, 2004 Posted June 29, 2004 Is there a way to temporarily disable a specific script step? As I recall, macro writing in Excel allowed you to change a line of code to a comment by putting something like quotation marks in front of the line of code. This way you could toggle the code to active or inactive by deleting or adding the quotation marks. Does anybody know of a way to keep the text of a script intact but temporarily disable it? Thanks, Jarvis
Robert Kidd Posted June 29, 2004 Posted June 29, 2004 Try adding an if statement at the front "If 1=2" and the "end if" at the end, you can then easily "enable" the script by setting it to If 1=1
QuinTech Posted June 29, 2004 Posted June 29, 2004 Also, at least in Dev 6 (and i assume in Dev 7 as well), when you have the script debugger running you can use the "Set Next Step" option to skip over one or more steps. But i usually use Robert's method because it's within ScriptMaker that i do most of my thinking about/testing of a script. Jerry
-Queue- Posted June 29, 2004 Posted June 29, 2004 You can also use If [0] and If [1] to make it really obvious.
Recommended Posts
This topic is 7713 days old. Please don't post here. Open a new topic instead.
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 accountSign in
Already have an account? Sign in here.
Sign In Now