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

Re: Wildcard behavior different in SE and CI



Reply to note from Harry Binswanger  Wed, 25 Mar
2009 14:47:50 -0400

Harry:

> I'm trying to change places in my XyBasic source code where I
> have things like this:
>
> '%--_XYENCode_start--
> "'JM2.hide'.01-06'Q2"'^"'JM2.hb'Q2"'^"'JM2.unhide'Q2"'^
> '%--_XYENCode___end--
>

OK, I see what you're getting at. Actually, I was wrong about
wildcard "X" not flagging func JM (although I still think it's
erratic). The following command does change the line in your code
that contains "JM 2.HIDE":

'%--_XYENCode_start--
CI_/";X2.HIDE;W;~[/xxx;~[/
'%--_XYENCode___end--

However, if I were you, I'd do something like this instead:

'%--_XYENCode_start--
~'BXse__"'JM2.hide;O"'JM2.unhide'Q2~)~>'YD
'RL~~~~'^
'%--_XYENCode___end--

--
Carl Distefano
cld@xxxxxxxx