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

Re: Using NB to Convert (was Re: XP & malware, then: Attachments and HTML )



Reply to note from Fred Weiner  Sat, 23 Jun 2012
20:04:10 -0700

Fred:

I added a couple of bells & whistles to frame LISTCM, yesterday's
routine that lists all embedded commands in a file.

1) Each command is now listed opposite its numerical character
position (CharPos) in the source file. You can locate any command in
the source file in point-and-shoot fashion -- by putting the cursor
on the CharPos number and hitting . This executes a CMline
macro (using frame XMACRO a/k/a XM) that switches to the source file
and locates the desired command.

2) If desired, you can filter the listing by adding an argument to
LISTCM consisting of the initial character(s) of the desired
command. Search wildcards, including the Boolean OR operater are
accepted. For example:

-List Save Style commands:
LISTCM SS

-List Save Style and Use Style:
LISTCM SS[wO]US
 (where "[wO]" is the Boolean OR wildcard)

As before, LISTCM (no argument) lists all embedded commands
in the source file.

It should be emphasized that your source file is never modified.

Here's the revised frame:

XPLeNCODE v2.0
b-gin [UNTITLED]
{{;5listcm}} List embedded commands in current file [CLD rev.
6/24/12][cr|lf]{002}[BX_]es 1[Q2_]{<}IF{<}VA|50{>}<1{>}{<}SV5
0,{>}{<}EI{>};*;[cr|lf]{<}IF{<}IS50{>}{240}"[wO]"{>}{<}SV01,{
{062}}{<}SV02,[wO]{>}{<}LBa{>}{<}IF{<}IS50{>}{240}"[wO]"{>}{<}SV0
3,{>}{<}XS50,02,04,03,03{>}{<}SX01,{<}IS01{>}+{<}IS04{>}+"[wO
][w<]"{>}{<}SX50,{<}IS03{>}{>}{<}GLa{>}{<}EI{>}{<}SX50,{<}IS0
1{>}+{<}IS50{>}{>}{<}EI{>};*;[cr|lf][XP_][TF_][BX_]ch [w<] [
w<][Q2_][BX_]wt[Q2_]{<}IF{<}VA$WC{>}>0{>}{<}SX01,{<}VA$WC{>}{
{062}}[BX_]ch [w>] [w>][Q2_][BX_]wt[Q2_]{<}IF{<}VA$WC{>}=={<}PV0
1{>}{>}{<}SX01,{<}VA$WA{>}{>}{<}IF{<}PV01{>}>0{>}[BX_]func #{
<}PV01{>}[Q2_][BX_]ne/100[Q2_][AS_][YD_];*;[cr|lf]{<}LBb{>}[B
X_]se [w<]{<}PV50{>}[Q2_]{<}IF@not({<}ER{>}){>}[JM_]2.dd/nv[
Q2_]{<}SX01,{<}VA$DS{>}{>}[AS_]{<}PV01{>}: [CP_][255+048+068]
[AS_][YD_]{<}GLb{>}{<}EI{>};*;[cr|lf][TF_]{<}SX01,{<}VA$FP{>}
{>}[AS_][TF_][BC_]xm LBYDDFBX(se/f :)DF[sv01],YDASBX(jmp [pv
01])[GT_]Embedded commands in {<}GT01{>}[255+048+068]Put curs
or on line with CharPos number and hit  to locate co
mmand in source file[255+048+068]CharPos: Command[255+048+068
];*;[cr|lf]{<}PRSource file is in alternate screen{>}{<}EX{>}
[cr|lf]{<}EI{>}{<}PRNo window{>}{<}EX{>}[cr|lf]{<}EI{>}{<}PRF
ile has unbalanced {<}|{>}{>}{<}EX{>}[cr|lf]{<}EI{>}{<}PRFile
 has no embedded commands{>}{002}[cr|lf][cr|lf]
-nd
XPLeNCODE

--
Carl Distefano
cld@xxxxxxxx