[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: U2 conflicts?



** Reply to note from xywrite@xxxxxxxx Thu, 04 Dec 1997 14:04:22 -0400

Myron, you seem to have a shifting set of problems. Originally, your problem was a
SmartSet Help window which, instead of providing help,

> The result is a windows which says: Can't reCALL UNTITLED file.

I got hold of ENHANCE by Tim Baehr (version 7/21/96), and installed the necessary
frames to run his file {{5^^new}}. But I could see out of the gate that Carl hit
the nail on the head the first time, because that string, "Can't reCALL UNTITLED
file", appears in his frame {{5,recall}}. When I rename "recall" to
"recallE" (rename both the frame itself AND the references or calls TO the frame
that appear in other frames such as ^^new), the problem completely disappears and
the Help screen displays correctly.

But now you say that you get an UNTITLED frame! Containing the same "Can't
reCALL" statement?

>> ... did you SAve and re-LOAD the .DLG file?

>  Yes, I even exit and restart XyWrite, just in case.
> I started over:
>  XyDOS 4.17
>  Enhanced DLG without STACK code

You're confusing me here. Why fiddle with the Stack code if you're not
going to use it?

> Next, add *one* redefined command from Tim's Enhanced.set code,
> namely "^^New", and change the call to "recall" to "recallE".

You changed the call, but did you change the framename that is being
called? You gotta change BOTH:

JM (2.Recall) >> JM (2.RecallE)
{{5,Recall}} >> {{5,RecallE}}

> Playing around with this it appears that SaveGet 01 is the problem.
> If I do nothing but change SX01, VA@01 etc. to SX701... the SmartSet
> help screens work.

> What I need to do, it seems, is renumber Tim's routines. There may be
> other conflicts I have not noticed. I would appreciate your
> suggestions, since I have not done enough XPL programming to be
> confident of the recommended (re)numbering conventions. (It's
> been some time since I tried Reorgniz's Renumber utility, as well.)

No! S/G 01 is not the problem. And the last thing that you want to do is
renumber any of Tim's routines, intertwined as they are. The S/G numbers
must stay exactly as they are, because few if any of his frames stand
alone; they all call other frames, which expect certain Save/Get numbers to
have certain values. And Tim is merely following XyQuest's own XyBabble
conventions here, of putting certain kinds of values on certain dedicated
Save/Gets.

I truly wish that Tim had not re-issued the _entire_ DLG and MNU files, but
simply those frames that he customized or altered or added afresh, so that
we users who have heavily modified our own DLG and MNU files, could simply
prepend his customized frames to our own, and get the benefit of his work
*without losing* our own. As it is, with his contributions almost totally
unidentified within the DLG file, and given the number of versions that DLG
(especially) underwent from the factory, you simply can't tell whether
variances between your DLG and ENHANCE.DLG represent 1) differences between
XyQuest versions of particular frames, 2) modifications by Tim, or 3) new work by
Tim. An additional problem is that if Tim has tinkered with factory-issue
frames (and he doesn't say!), then you might not get predictable results
from standard textbook actions any more.

I regret it, because I would like to give ENHANCE a test drive (I'm sure
Tim's work is valuable), but can't because it renders my system, customized
as it is, somewhat like an alien planet, and I'm not willing to make that
sacrifice. Whereas Carl's work, for example, never affects my system --
our anyone's system -- in any way. It is simply additional. That result,
indeed, reflects the basic goal of REORGaNIZe: to permit people's programs to work
together, out of the box, by following a few unintrusive, simple rules -- declare
your Save/Get ranges, pack them together, don't step on other people's Save/Gets,
etc.

Anyway, your solution is a simple one. And the overlap of frame names is
one thing for which nobody is to "blame". I have a little utility
that I never published that goes through a Help file (U2, DLG, MNU,
whatever) and discovers all the dupes, which can sometimes be elusive
because of "*" wildcards. If you want to try it, I'll post it... Ciao



-----------
Robert Holmgren
holmgren@xxxxxxxx
-----------