Is there a way in Script Debugger v8 to do the following without the (if 1 = 1) wrapper and achieve code folding ??
if 1 =1 then
line of code 1
line of code 2
line of code 3
etc
end if
cheers
furbies
Is there a way in Script Debugger v8 to do the following without the (if 1 = 1) wrapper and achieve code folding ??
if 1 =1 then
line of code 1
line of code 2
line of code 3
etc
end if
cheers
furbies
No, I don’t think so. Look in the ScriptDebugger help documentation and you’ll find this:
Code folding calls attention to the block structure of your code, and also permits you to collapse a block, hiding everything but its first line — thus saving space and helping you to view and understand the larger structure of your code.
You can fold blocks but not arbitrarily selected chunks of text.
Blocks are:
Fudge ! Poop! Nutz !
You could use a try block.
try
line of code 1
line of code 2
line of code 3
end
Now how come I never thought of that?