PDA

View Full Version : Can't delete a line in a SB7 script



NewsArchive
06-28-2010, 01:20 AM
Friedrich,

I have an SB7 script I've been using to test some things and I noticed
after writing an IF block that I needed it elsewhere. So, I copied it
and pasted it where it should have been and went back up to delete the
original. I can delete everything except the IF statement. That line
will not move up or down (although I can paste empty lines above and
below it) and it won't comment out either.

It's no big deal, I simply added an END to close the block and can
ignore it. I was just wondering if you wanted to see the script in
case it has something you want to dig into. If so, just let me know
and I'll email it to you.

--
Lee White

Enroll Today at http://CWaddons.com

Reports....: http://www.cwaddons.com/products/rpm/
Free Review: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Faxing.....: http://www.cwaddons.com/products/afe/

NewsArchive
06-28-2010, 01:20 AM
Lee,

> I have an SB7 script I've been using to test some things and I noticed
> after writing an IF block that I needed it elsewhere. So, I copied it
> and pasted it where it should have been and went back up to delete the
> original. I can delete everything except the IF statement. That line
> will not move up or down (although I can paste empty lines above and
> below it) and it won't comment out either.
>
> It's no big deal, I simply added an END to close the block and can
> ignore it. I was just wondering if you wanted to see the script in
> case it has something you want to dig into. If so, just let me know
> and I'll email it to you.

It would be great if you could send me the project. Do you know what you
did before that happened and can you reproduce it?

Thanks,
Friedrich

NewsArchive
06-28-2010, 01:21 AM
Friedrich,

> It would be great if you could send me the project. Do you know what you
> did before that happened and can you reproduce it?

I'll send it shortly. As to the questions... too old to remember!<g>

I'll try to reproduce the behavior.

--
Lee White

Enroll Today at http://CWaddons.com

Reports....: http://www.cwaddons.com/products/rpm/
Free Review: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Faxing.....: http://www.cwaddons.com/products/afe/

NewsArchive
06-28-2010, 01:22 AM
Friedrich,

> It would be great if you could send me the project.

The script is on its way.

--
Lee White

Enroll Today at http://CWaddons.com

Reports....: http://www.cwaddons.com/products/rpm/
Free Review: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Faxing.....: http://www.cwaddons.com/products/afe/

NewsArchive
06-28-2010, 01:22 AM
Lee,

>> It would be great if you could send me the project.
>
> The script is on its way.

Received, thank you.

That "If..." Line has "protected" status (similar to the [Support Files]
section) and so it can't be deleted. I have seen this before, but we can't
reproduce it. There must be combination of magic steps that causes this.

Thanks,
Friedrich

NewsArchive
06-28-2010, 01:28 AM
Friedrich,

> That "If..." Line has "protected" status

That was my take on it since it was behaving like other lines that
can't be deleted. Wish I figure out what I did!<g>

--
Lee White

Enroll Today at http://CWaddons.com

Reports....: http://www.cwaddons.com/products/rpm/
Free Review: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Faxing.....: http://www.cwaddons.com/products/afe/

NewsArchive
06-28-2010, 01:29 AM
Hi Lee,

You mentioned, I believe, that you had originally selected multiple lines of
code and moved them. Could it possibly be that you moved them over the top
of one of the lines of code that is protected? I have seen some really weird
stuff happen when you do that.
JAT

--
Regards,

Lee
http://www.cya2day.com

NewsArchive
06-28-2010, 01:29 AM
Lee,

> You mentioned, I believe, that you had originally selected multiple lines of
> code and moved them. Could it possibly be that you moved them over the top
> of one of the lines of code that is protected? I have seen some really weird
> stuff happen when you do that.

I've seen that too but in my case I had selected the lines copied and
then pasted in a new location. It was one of the original lines that
liked being there a bit too much!<g>

--
Lee White

Enroll Today at http://CWaddons.com

Reports....: http://www.cwaddons.com/products/rpm/
Free Review: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Faxing.....: http://www.cwaddons.com/products/afe/

NewsArchive
06-29-2010, 01:24 AM
Mmmmm.... I guess the real lesson then is "Don't do that".....<g>

--
Regards,

Lee
http://www.cya2day.com

NewsArchive
06-29-2010, 01:25 AM
Lee,

> Mmmmm.... I guess the real lesson then is "Don't do that".....<g>

<g>

--
Lee White

Enroll Today at http://CWaddons.com

Reports....: http://www.cwaddons.com/products/rpm/
Free Review: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Faxing.....: http://www.cwaddons.com/products/afe/