LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (February 2001, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 9 Feb 2001 10:21:02 -0500
Reply-To:     Nigel Tufnel <dousk8@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Nigel Tufnel <dousk8@HOTMAIL.COM>
Subject:      Is Boolean logic faster?
Content-Type: text/plain; format=flowed

Is Boolean logic faster? Does it matter?

Which is faster

test = ((num > 0)*(color='B'));

or

if num > 0 and color = 'B' then test=1; else test=0;

Do both statements compile into the same thing?

Please advise. Thanks, Nigel

_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com


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