I repeat that #1 (or in France £1) is a counter, so no spaces by
definition.
I guess that space(#1) converts it to a string and so you can compare to
identifier "a", what is a string
Kris Buelens,
--- VM/VSE consultant, Belgium ---
-----------------------------------------------------------------------
Op ma 28 nov. 2022 om 10:07 schreef Alain Benvéniste <[email protected]>:
> Yes John ^ is the good character.
> There is something i still don’t understand :
> If i code
> If £1==a
> and a is equal to b3339
> b for blank, the if is not honored
> If I use a
> If space(£1)==space(a) it works.
> It could mean that when i do a set £1:=a the blank is removed… ?
>
> Resiliency Services on Z Mainframe
> [email protected]
>
> > Le 27 nov. 2022 à 14:59, John P. Hartmann <[email protected]> a écrit :
> >
> > On 11/27/22 13:51, [email protected] wrote:
> >> Sorry John to come back but,
> >
> > There is no /== operator in specs.
> >
> > For me, ^== works as the not exactly equal operator because my terminal
> > emulator maps ^ to not; perhaps it works for you too. Otherwise you
> > need to find the not character on your terminal, or turn the expression
> > around to use ==.
> >
> > (/= is divide counter by the right-hand expression assignment operator;
> > it is not a binary logical operator. See pp 737)
>