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>
Subject: Re: %EVAL question
Thanks a lot for the help!!
Scuttlebutt wrote in message <email@example.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!