Following up on this list question, I want to respond to the questions and
suggestions. I do so appreciate each person who took a stab at it.
Why would I write a program like BLEEP? Well, I wouldn't! But that was the
very simplest way to illustrate the problem I was having with a far more
complex suite of programs that run "around" the TCL editors on U2 in order
to maintain "source control security" over a development environment
(because that is what my product, PRC does (Did she really just manage to
plug her product? Gadz, at least she's predictable!)).
The couple of you that proposed I control the list myself, 'readnext'ing and
executing the edit -- yes, there are some scenarios when I do that. But
there are a couple of conditions when I want to just let go and let the
editor do it's thing, directly. Why?
* Because in some cases there are different functions available in
an editor that knows a list is active, and when I control it one-by-one
Universe doesn't know the list is active. (Best example, pre-stores.)
* Because in the instances where I want to allow this to happen PRC
doesn't need to be involved and strikes me as interference (and unnecessary
overhead) to a routine edit.
* Because it works that way just fine on the other platforms.
And the suggestion that I use a different syntax to SELECT ... TO ... this
would entail my having some control over the user/programmer who executed
the select list (right). I can't make her type that, and I can't control
what list variable she selects to. I could issue a mandate but that
interferes with the mission statement of PRC -- that the programmer need not
do anything differently. And, of course, they wouldn't always do it that
way and so it wouldn't always work and that would be a BUG (just like I have
now!)
So the ideal goal was (in some specific scenarios) to be able to have my
program just let go and allow the edit-from-list to carry on without
interference. And just as my hero Chuck Stevenson suggested right away (and
someone else mentioned it, too), using PERFORM instead of EXECUTE took care
of it. Just like that. Sweet and simple.
Thanks to everyone!
Susan
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/