What does the expression mean in the following code?

Reply
Frequent Contributor
Posts: 75

What does the expression mean in the following code?

What does the expression mean in the following code:

alea=a-1;

        do while(alea<a | alea>b);/*this one?*/

           alea = rannor(-1)*s+mean ;

        end;

Super User
Posts: 5,382

Re: What does the expression mean in the following code?

SAS(R) 9.4 Language Reference: Concepts, Fourth Edition

Since you and many other find those abstract operators hard to under understand, I discourage the use of these.

Data never sleeps
Super User
Posts: 11,107

Re: What does the expression mean in the following code?

But it is so much fun to write obscure code Linus!  Actually I agree and normally use OR, AND and NOT as appropriate. The extra special fun part with the | operator is you might have meant || or vice versa.

Ask a Question
Discussion stats
  • 2 replies
  • 210 views
  • 0 likes
  • 3 in conversation