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 1998, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 2 Nov 1998 15:32:54 -0600
Reply-To:     Scuttlebutt <jbailey@CYBERCONNECT.COM>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Scuttlebutt <jbailey@CYBERCONNECT.COM>
Organization: http://extra.newsguy.com
Subject:      Re: %EVAL question

Thanks a lot for the help!!

Scuttlebutt wrote in message <71ga7d$avk@enews2.newsguy.com>... >How can I translate the result of an %EVAL to a numeric value? When I >execute these commands: > >%let numcards= %eval(&decks*52); >%let cutoff= %eval(.7 * &numcards); > >I am getting the following error: > >ERROR: A character operand was found in the %EVAL function or %IF condition >where a numeric > operand is required. The condition was: .7 * 52 >ERROR: The macro will stop executing. > >Any help would be great, thanks! > > >


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