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

Re: Problems with NB and SE etc



Dear Carl
I cannot be sure that it is draft mode alone because I realise I cheated somewhat with my new installion of NB. I copied over my old version of NB.DFL rather than making all the settings again from scratch, one at at a time. However everything worked just fine after that. It was only when I shifted to draft mode that the U2 routines I have been having problems with started causing problems again. I suppose draft mode could be interacting with another setting but if so it is the former which tips it into bad behaviour.
I should make clear that something has changed between NB8.0i and NB8.0k
(I never tried j).

For me, with NB8.0i in draft mode:
WCAF generally works and any failures are probably a result of assigning the help key to an Alt Table. Issuing Help 'U2 routine' helpkey always leaves me at the top of the .INF file. SEarch does not work, except if I issue it immediately after starting NB for the first time after booting up the computer. Then it will sometimes work once, but no more. It will not work again after stopping NB and restarting, even after killing the NTVDM process.

NB8.0k in draft mode:
WCAF no longer works.
Same problem as above with U2 help
Search never works.
However: when I installed the new version of WCAF into U2, it worked in draft mode with NB8.0k albeit a little more slowly than in page layout mode.
I also found that if I left message boxes on for error messages (which I
did by accident first time) I got error messages which didn't make much
sense to me but might to you.

Best wishes

Paul



Carl Distefano wrote:
Reply to note from Paul Breeze  Thu, 12
Mar 2009 17:13:01 +0000
The problem is with setting draft mode as the default.

I don't think so. At least, I can't verify that here. When I set
draft mode as the default, everything still works. Surely it can't
be the explanation for WCAF's not working, because, as I recall,
WCAF opens files in eXPanded view to do the word count, regardless
of the default setting. Let me double-check.... No, hmmm, that's not
true. It uses eXPanded view for the @listfile usage but the default
view for wildcard filemasks. I don't remember why I did it that way
(hard to believe I wrote the routine 9 years ago!); offhand, I can't
see any reason not to use eXPanded view throughout. (Well, one
reason is that it might be marginally slower in NB, but not by
much.)

Here's an eXPanded-view-only version of WCAF, encoded two ways, in
case you'd like to give it a try. If the routine below works, then I
suppose that lends weight to the notion that draft view has
something to do with the problem. Somehow, I doubt it.

XPLeNCODE v2.0
b-gin [UNTITLED]
{{;5wcaf}} Word Count Across Files [CLD Rev.3/12/09][cr|lf]
{002}
[XH_]
[BX_]es 1[Q2_]
{<}SX01,{<}IS50{>}{>}
{<}IF{<}VA|01{>}<1&{<}VA$WS{>}>1{>}
{<}SX01,{<}VA$DP{>}{>}
{<}EI{>}
{<}IF{<}VA|01{>}<1{>}
{<}SV02,WCAF filespec|@listfile|[DIR filespec]{>}
{<}LBb{>}
{<}PR@02{>}{<}EX{>}
{<}EI{>}
{<}IF{<}VA$WO{>}>7{>}
{<}SV02,2 available windows required{>}
{<}GLb{>}
{<}EI{>}
{<}IF"\"{238}{<}IS01{>}<0&"@"{238}{<}IS01{>}<0{>}
{<}SX02,{<}VA$PA{>}{>}
{<}IF"\[255+252+142]"{238}({<}IS02{>}+"[255+252+142]")<0{>}
{<}SX02,{<}IS02{>}+"\"{>}
{<}EI{>}
{<}SX01,{<}IS02{>}+{<}IS01{>}{>}
{<}EI{>}
{<}SX01,@upr({<}IS01{>}){>}
{<}SV02,{>}
{<}SV03,
{<}IF{<}VA$NW{>}<>3{>}
{<}SX02,{<}VA$NW{>}{>}
[BX_]d nw=3[Q2_]
{<}SX02,"
[BX_]d nw="+{<}IS02{>}+"[Q2_]
"{>}
{<}EI{>}
[BX_]ne/100[Q2_]
{<}SX04,{<}VA$WN{>}{>}
{<}SX04,"[DX_]
[BX_]func #"+{<}IS04{>}+"[Q2_]
"{>}[AS_]{>}
[BX_]();*;[cr|lf]
{<}IF"@"{238}{<}IS01{>}==0{>}
{<}SV04,@{>}
{<}XS01,04,,04,05{>}
{<}SX01,{<}IS05{>}{>}
{<}EI{>}
{<}IF{<}VA@04{>}=="@"{>}
[BX_]gofile {<}PV01{>}[Q2_]
{<}IF@not({<}ER{>}){>}
{<}IF{<}VA$MO{>}>0{>}
{<}SV02,Listfile modified but not SAved - Abort{>}
{<}GLb{>}
{<}EI{>}
[BX_]ab/nv[Q2_]
{<}EI{>}
{<}EI{>};*;[cr|lf]
[BX_]ca/100 {<}PV01{>}[Q2_]
{<}IF{<}ER{>}{>}
{<}IF{<}VA$ER{>}==160{>}
{<}SV02,No matching files{>}
{<}GLb{>}
{<}EI{>}
{<}IF{<}VA$ER{>}==214{>}
{<}SX02,"Listfile "+@upr({<}IS01{>})+" not found"{>}
{<}GLb{>}
{<}EI{>}
{<}SV02,Unexpected error - Abort{>}
{<}GLb{>}
{<}EI{>}
[BX_]wait[Q2_]
{<}SV06,[DO_]{>}
{<}SV07,[EN_]{>}
{<}SV08,{>}
{<}IF{<}VA@04{>}=="@"{>}
{<}SX08,{<}VA$WN{>}{>}
{<}SX08,"[DX_]
[BX_]func #"+{<}IS08{>}+"[Q2_]
"{>}
{<}SV06,[DO_]
[BX_]ab/nv[Q2_]{>}
{<}SV07,{<}PV08{>}
{<}IF{<}VA$FE{>}<1{>}[YD_][LB_][DF_][LE_][DF_]
{<}SV09{>}[YD_][CR_]
{<}SV10,{>}
[BX_]()
[BX_]wait[Q2_]
[BX_]ca {<}PV09{>}[Q2_]
{<}IF{<}VA$ER{>}==214{>}
{<}SV10,File not found[cr|lf]{>}
{<}EI{>}{<}EX{>}
{<}EI{>}
[BX_](){>}
{<}EI{>}
[BX_](){<}PV03{>}
{<}IF{<}VA|07{>}>3{>}{<}PV07{>}
{<}EI{>};*;[cr|lf]
{<}SX03,0{>}
{<}SX05,0{>}
{<}PRWorking{>}
{<}LBc{>}
{<}SX05,{<}PV05{>}+1{>}
{<}IF{<}VA|10{>}>0{>}
{<}GLe{>}
{<}EI{>}
[BX_]wc[Q2_]
{<}SX11,{<}VA$WC{>}{>}
{<}SX03,{<}PV03{>}+{<}PV11{>}{>}
{<}SX10,{<}VA$FI{>}{>}
{<}IF{<}VA|07{>}>3{>}
{<}SX10,{<}VA$FP{>}{>}
{<}EI{>}
{<}SX11,{<}IS10{>}+": "+{<}IS11{>}+" words[cr|lf]
"{>}
{<}SV10,{>}{<}PV04{>}{<}GT11{>}[AS_]{<}PV06{>}
{<}LBd{>}{<}PV07{>}
{<}IF{<}VA|10{>}>0{>}
{<}LBe{>}
{<}SX11,@upr({<}IS09{>})+": "+{<}IS10{>}{>}{<}PV04{>}{<}GT11{>}
{<}SV10,{>}
{<}GLd{>}
{<}EI{>}
{<}IF@not({<}ER{>}){>}
{<}GLc{>}[cr|lf]
{<}EI{>}
{<}IF{<}VA|08{>}>0{>}{<}PV08{>}
[BX_]ab/nv[Q2_]
{<}EI{>}
{<}SX03,"Word Count Across Files[cr|lf]
Total for "+{<}IS01{>}+" ("+{<}IS05{>}+" files): "+{<}IS03{>}+" w
ords"{>}{<}PV02{>}{<}PV04{>}[TF_]{<}GT03{>}[255+048+068][255+048+
068][TF_]
{<}PRDone{>}{<}EX{>}{002}
[cr|lf]
[cr|lf]
-nd
XPLeNCODE

'%--_XYENCode_start--
{{5wcaf}}_Word_Count_Across_Files_[CLD_Rev.3/12/09]'^
~B'XH
'BXes_1'Q2
~~>
~<1&~>1~>
	~~>
~
~<1~>
	~~>
	~
	~~
~
~>7~>
	~
	~
~
~<0&"@"~{~<0~>
	~~>
	~+"!3C;~N")<0~>
		~+"\"~>
	~
	~+~~>
~
~)~>
~
~<>3~>
	~~>
	'BXd_nw=3'Q2	
	~+"'Q2
	"~>
~
'BXne/100'Q2
~~>
~+"'Q2
"~>'AS~>
'BX()',*','^
~==0~>
	~
	~
	~~>
~
~=="@"~>
	'BXgofile_~'Q2
	~)~>
		~>0~>
			~
			~
		~
		'BXab/nv'Q2
	~
~',*','^
'BXca/100_~'Q2
~~>
	~==160~>
		~
		~
	~
	~==214~>
		~)+"_not_found"~>
		~
	~
	~
	~
~
'BXwait'Q2
~
~
~
~=="@"~>
	~~>
	~+"'Q2
	"~>
	~
	~
	~<1~>'YD'LB'DF'LE'DF
		~'YD'CR
		~
		'BX()
		'BXwait'Q2
		'BXca_~'Q2
		~==214~>
			~
		~~
	~
	'BX()~>
~
'BX()~
~>3~>~
~',*','^
~
~
~
~
~+1~>
~>0~>
	~
~
'BXwc'Q2
~~>
~+~~>
~~>
~>3~>
	~~>
~
~+"'._"+~+"_words'^
"~>
~~~'AS~
~~
~>0~>
	~
	~)+"'._"+~~>~~
	~
	~
~
~)~>
	~'^
~
~>0~>~
	'BXab/nv'Q2
~
~+"_("+~+"_files)'._"+~+
"_words"~>~~'TF~:~M:~M'TF
~~~B'^
'^
'%--_XYENCode___end--