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 (August 2006, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 8 Aug 2006 15:36:03 -0400
Reply-To:     Talbot Michael Katz <topkatz@MSN.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Talbot Michael Katz <topkatz@MSN.COM>
Subject:      Re: DO and IF Statements Highlighted in Red
Comments: To: "Tom A. Schmitt" <schmitta@UWM.EDU>

The SAS Enhanced Editor does have some red-colored quirks. For example, in my editor, inside a data step, if the left hand side of an assignment statement includes a macro variable, like the following:

var&m. = 0;

the letters "var" are colored red, but the code works with no errors or warnings (if the macro variable &m has been assigned properly). This was true in SAS 8, and has persisted in SAS 9 (Windows).

-- TMK -- "The Macro Klutz"

On Tue, 8 Aug 2006 12:53:28 -0500, Tom A. Schmitt <schmitta@UWM.EDU> wrote:

>Thanks Art! The color coding is the same on my system. I would post my code but >its pretty long. I found that it happens when I get rid of the MACRO that >surrounds my code. My code runs fine and I'm not referencing the MACRO >anywhere, which I thought would be the most likely reason. Maybe it's just one >of those things one asks the SAS gods when one passes into the after-life. > >> Thomas, >> >> If you look at tools>Options>Enhanced Editor>appearance, you can see what >> is highlighted in red (or any other color for that matter). >> >> On my system, which I think has the SAS defaults, red is only used >> for 'Undefined keyword' and 'Unknown or invalid text'. >> >> Can you post an example of it happening? >> >> Art >> --------- >> On Tue, 8 Aug 2006 11:39:42 -0500, Tom A. Schmitt <schmitta@UWM.EDU> wrote: >> >> >Hi Group: >> > >> >What does it mean when SAS DO and IF statements are highlighted in red? >> It seems >> >to happen periodically when I paste code. My code is working fine, so it >> drives >> >me nuts! >> > >> >Tom >>


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