Date: Wed, 23 Aug 2006 10:56:23 -0400
Reply-To: Peter Crawford <peter.crawford@BLUEYONDER.CO.UK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Peter Crawford <peter.crawford@BLUEYONDER.CO.UK>
Subject: Re: SAS 8.2 issue?
Arjen
Pasting trailing blanks only seems to cause a problem in the
enhanced editor window.
It is the same in the SAS9 display manager.
If the code is a SAS notepad window, try
command
file 'x.x'
switch to enhanced editor
command
incl 'x.x'
to discover that it is "trimmed" in that destination.
In fact, if you check the external 'x.x' file, you'll find
that has no trailing blanks either.
So, although the SAS notepad window seems to deliver trailing
blanks, these are trimmed when the code is saved to an
external file.
Peter
On Wed, 23 Aug 2006 07:19:11 -0700, Brian <brian100200@YAHOO.COM> wrote:
>Arjen wrote:
>> Hello users,
>>
>> A "meta-question": I am using SAS 8.2. Whenever I am trying to
>> copy-paste a code into (for instance) the notepad, a whole bunch of
>> white space is also copied. That is, a SAS-line is not considered as
>> just the code, but as a code with a line full of spaces. Removing these
>>
>> spaces is quite annoying. When I do it using the replace-function
>> (replace spaces with _null_ spaces) sometimes also my code is
>> affected.
>>
>>
>> Does anybody have similar problems? Any solutions maybe?
>>
>>
>> Arjen
>
>
>Arjen,
>
>One thing that I try to do in the Enhanced Editor is:
>
>1) Press CTRL - A (to highlight all the code.)
>2) Press CTRL - SHIFT - W (to clean up whitespace.)
>
>This works in the enhanced editor and you will get rid of all the
>spaces that tend to collect at the end of the lines. Try this before
>you cut and paste.
>
>Hope that helps,
>
>Brian
|