f



Re: '^=' and '~='? #7

SAS was originally based on PL/1, and having programmed in PL/1,=20
I'm inclined to use the PL/1 symbol for not equals, which is the
^=3D (actually it is not the caret on IBM mainframes, but the not symbol
which looks like L on its side). =20

-Mary
  ----- Original Message -----=20
  From: ./ ADD NAME=3DData _null_;=20
  To: SAS-L@LISTSERV.UGA.EDU=20
  Sent: Thursday, February 12, 2009 9:09 AM
  Subject: Re: '^=3D' and '~=3D'?


  Maybe good reason to use mnemonic equivalents.

  882  data _null_;
  883     a =3D .v MIN .z;
  884     b =3D .v MAX .z;
  885     ax =3D .v >< .z;
  886     bx =3D .v <> .z;
  NOTE: The "<>" operator is interpreted as "MAX".
  887     c =3D .A NE .A;
  888     put (_all_)(=3D);;
  889     run;

  a=3DV b=3DZ ax=3DV bx=3DZ c=3D0
0
mlhoward (1803)
2/12/2009 3:52:18 PM
comp.soft-sys.sas 142827 articles. 4 followers. Post Follow

0 Replies
1154 Views

Similar Articles

[PageSpeed] 23

Reply: