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

Re: Self-referential problem



Reply to note from Carl Distefano  Sun, 22 Feb 2009
16:26:13 -0500


It occurred to me that a parse isn't necessary in Xy3; a containment
test will suffice. Avoiding the parse (and a few other, minor
changes) makes the code compatible with versions earlier than 3.54 --
although I can't see why a Xy3 user would choose to run anything
earlier than 3.55, can you?

Anyway, here's the revision:

'%--_XYENCode_start--
~'^
SEFU3.PM_for_XyWrite_III+_--_CLD_2/22/09'^
Search_for_unsearchable_strings_(chars_within_3-byte_chars,_etc.)'^
'^
Usage'.'^
RUN_SEFU3.PM_[search'-$tring]'^
Works_from_cursor_position_to_end_of_file'^
'^
~
~~>
~)<1~>
  ~~>~
~'GT
~~>
~'BCWorking...'DX'GT
~'XD
~~>'CR
~==~~>
  ~'BCjmp_~'XC
  'BC'GT'DO'FF
  ~~
~
~+1024~>'DF'BCjmp_~'XC
'BC'GT'DF
~
~)<1~>'XD
  ~
~
~~{~<0~>
  ~
~
~~>
~+~~{~~>
'XD'BCjmp_~'XC'BC'GT'DO'FF
~~'^
'^
'%--_XYENCode___end--

--
Carl Distefano
cld@xxxxxxxx