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 2010, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 11 Nov 2010 18:56:08 -0500
Reply-To:     Arthur Tabachneck <art297@ROGERS.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Arthur Tabachneck <art297@ROGERS.COM>
Subject:      Re: TRANWRD behaves quit strange
Comments: To: Sterling Paramore <gnilrets@GMAIL.COM>

Sterling,

You are absolutely correct! I was too quick in responding. But, on the other hand, virtually any function can be used without an assignment. For example:

data test; if today() ne "2FEB2007"d then put "quit"; run;

Is it Friday yet? Art ------- On Thu, 11 Nov 2010 14:44:38 -0800, Sterling Paramore <gnilrets@GMAIL.COM> wrote:

>Nope: > >15 data x; >16 sleep(); > _ > 22 > 76 >ERROR: Undeclared array referenced: sleep. >ERROR 22-322: Syntax error, expecting one of the following: +, =. > >ERROR 76-322: Syntax error, statement will be ignored. > >17 run; > > >On Thu, Nov 11, 2010 at 2:31 PM, Arthur Tabachneck <art297@rogers.com>wrote: > >> sleep() >> ------- >> On Thu, 11 Nov 2010 13:41:02 -0800, Sterling Paramore <gnilrets@GMAIL.COM> >> wrote: >> >> >>Many other functions do not have this requirement. >> > >> >Name one. >> > >> >On Thu, Nov 11, 2010 at 1:32 PM, bbser2009 <bbser2009@gmail.com> wrote: >> > >> >> This function is kind of special. >> >> >> >> tranwrd(...); >> >> >> >> This statement will give error information. >> >> It has to be assigned to a variable, like this: >> >> x=tranwrd(...); >> >> >> >> >> >> >> >> Many other functions do not have this requirement. >> >> >> >> Can you say anything about this? Thanks. >> >> >> >> >> >> >> >> Max >> >> >>


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