LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (November 1999, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 18 Nov 1999 07:58:54 GMT
Reply-To:     Choi Kyoung eun <korkec@SEOUL.KOR.SAS.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Choi Kyoung eun <korkec@SEOUL.KOR.SAS.COM>
Organization: SAS Institute Inc.
Subject:      Macro Problem...

%MACRO TEST(QNO); %LOCAL QNO;

%IF 1<=&QNO<=3 %THEN %PUT &QNO 'ONE TO THREE'; %ELSE %PUT 'OUT OF RANGE';

%MEND TEST;

%test(6);

log> ONE TO THREE

I think the result was wrong. and no error message.

What's Wrong? another method '1 <= &qno and &qno <= 3 ' is right. but why is different result? please. give me answer.


Back to: Top of message | Previous page | Main SAS-L page