On 12/6/2010 1:15:39 PM, Scott Lambert wrote:
>Hi Howard,
>
>you suggested:
>
>if(#52==-1 && #53<>-1) {
>block_begin(cur_pos) // if
>block_begin not set, assume
>current position
>#52=cur_pos
>} // end of if
>
>
>I am unsure under what
>conditions your code would
>execute. Except in the case of
>a future strange bug in Vedit,
>when is it possible to have a
>block_end not equal to -1 if
>block_begin is -1 ? Can you
>create a condition manually
>where your code would execute?
>I am unable to do
>so.
>
>Even if you drop to the
>command line with no block
>set, and force block_end to
>another value
>then -1, block begin is set to
>the same value.
>
Scott,
You're right. The code I suggested is completely unnecessary. I don't know what I was thinking. Your code is fine as-is.
-- Howard
|
|