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

Re: CAlling a Binary File



Reply to note from Fred Weiner  Wed, 13 Feb 2013
11:23:44 -0700

Fred:

> Success.

Yowza!

> I wondered what those white rectangles with a pattern
> inside, sprinkled throughout the code, were. ASCII 10's, no?
> Well, they disappeared with the suggested approach (utilizing
> the U2 frame; ...

> ... I couldn't figure out how to use the native command after
> decoding).

Try this: don't decode it, just DeFine it and issue XYRUN.
It'll put the native command on the CMline.

'%--_XYENCode_start--
'BCch__;~Y_;~[~'^
'%--_XYENCode___end--

That "down-arrow" wildcard may be unfamiliar. It stands for a single
1-byte Ascii-10 (line feed), which can't be put on the CMline in
true form. As far as I know, there's no 3-byte function that will
produce it (the way, e.g., func WL produces the reverse-video "L"
wildcard that stands for "any letter"), but you can assign it in the
KBD file thus:

'%--_XYENCode_start--
nn=NO:~255,F,F,~192,~153'^
'%--_XYENCode___end--

But a better solution, IMHO, is to use frame WILDCARD, which makes
all the native wildcards, as well as the two Boolean AND and NOT
SEarch wildcards we added in U2, accessible via a single key. You
can assign it with:

nn=NOJM(,2,.,w,i,l,d,c,a,r,d,)

Once you've launched frame WILDCARD, the Ascii-10 wildcard is
produced by pressing the DownArrow key.

--
Carl Distefano
cld@xxxxxxxx