PDA

View Full Version : Sticky "IF"



TreeMeister
02-01-2009, 03:27 PM
An "If variable" statement in one of my scripts cannot be deleted, moved, or commented out. It is in the "register templates" part of the [ Finalize Setup ] block.

All I can do is keep a matching "End" with nothing in between. Hopefully, nothing is executed invisibly in this "if" block. If I select both the "if" and "end" together and request delete, only the end is deleted.

What causes this, and how do I get rid of it, short of creating a whole new template?

SB 6.9.2482.0

linder
02-02-2009, 03:29 AM
Hello,

I assume it's caused by this:

http://www.lindersoft.com/forums/showthread.php?t=12240

You can send your project to support (at) lindersoft (dot) com and we'll remove the line for you.

Friedrich

TreeMeister
02-02-2009, 10:32 AM
No problem. I converted it to an "if true = false" statement with a matching end.

I see you have a fix for the problem coming, so I expect it will not happen again.

The problem occurred when I attempted to delete a block of several statements. The block may have included a protected line by mistake. After the delete, the "If variable" statement remained and cannot be deleted.