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

Re: preventing lines from printing with substitution tables



Oh! I didn't read your first post carefully enough. You want to be able to
display it but have it not print. And, you're now adding, to display it in
regular (not expanded) mode. Well, we can do that, too.


Do the following, either manually or by using the program below.
1. Pick a delimiter-pair, such as [^ and ^] (it can be any single
character, or string, that you don't think will ever be something you'll
use as printable text).


2. Surround the not-to-be-printed text, including any Cr-Lfs, with them.

3. Copy the file to a temporary one--e.g.,
  Copy/nv myfile myfile.$$$

4. CAll that temp file to the screen

5. CHange the delimiters to ≪iv and ≫:
 CH /[^/≪IV/
 CH /^]/≫/

4. print as usual

5. ABort the temp file

Here's a program that you can load onto a key of your choice to do that,
using [^ and ^] as delimiters. You can change it to two other delimiters if
you wish. Decode it with:


DEC

It should work with Xy3. I haven't been able to test it properly, because
right now I can't print from XyWrite.


XPLeNCODE v2.0 (ENCODE.EXE)
b-gin [UNTITLED]
{<}SV100,{>}{<}SV50,{>}{<}SX555,0{>}{<}SV554,{>}{<}SV78,{>}{<}
SV60,{>}{<}SV61,{>};*;[cr|lf];*;[cr|lf]{<}SV589,.{>}{<}SV568,{<}
LB{>}{>};*;[cr|lf]{<}SV569,LB{>}{<}XS568,569,595,570,596{>}[TF_]
[XD_][DF_][BF_][DF_][TF_]{<}SX01,{<}VA$FI{>}{>};*;[cr|lf]{<}IF
{<}IS589{>}{238}{<}IS01{>}<0{>}{<}SX02,{<}IS01{>}{043}".$$$"{>}
;*;[cr|lf]{<}GLA{>};*; GOTO SKIP [cr|lf]{<}EI{>};*;[cr|lf]{<}X
S01,589,03,04,05{>}{<}SX02,{<}IS03{>}{043}".$$$"{>};*;[cr|lf]{<}
LBA{>};*; SKIP [cr|lf][BC_]ne/nv {<}PV02{>}[XC_][BC_][CP_][XP_]
[TF_][BC_]ci /{091}^/{<}PV595{>}iv/[XC_][BC_]ci /^{093}/{<}PV5
96{>}/[XC_][BC_][BC_]ty[XC_][BC_]ab[XC_][BC_]{<}EX{>}[cr|lf]
-nd
XPLeNCODE

Regards,
Harry


Harry, if you fence the comment inside twin ≪if≫'s it both displays and prints. If you put the comment inside the bracket, (e.g.,≪ifthis is my dastardly comment≫) it won't print, but it only displays in extended mode. So we got half-way there, but its a way-station I can't unfortunately use. From: Carl Distefano To: xywrite@xxxxxxxx Sent: Friday, September 9, 2016 10:10 PM Subject: Re: preventing lines from printing with substitution tables Reply to note from Harry Binswanger mailto:hb@xxxxxxxxhb@xxxxxxxx> Fri, 09 Sep 2016 21:26:02 -0400 > You mean it still prints? No, he means what he says: it only displays in eXPanded view! PMJI. -- Carl Distefano mailto:cld@xxxxxxxxcld@xxxxxxxx