Hi,
I just updated to Windows 7,IE9,office2010. when I copy-paste to forum, there are a lot of extra spaces. What should I do about it? see example below.
Thanks - Linlin
data old;
input
a b;
cards;
1 2
2 1
;
data
new;
set
old;
do
combinations=1 to 32;
output;
end;
run;
procsort data=new;
by
combinations;
run;
Hello Linlin,
Delete blank lines is one of the choices under menu TextFX > TextFX Edit >
At least in v4.0.2 (localized in french)
PG
I always paste through an intermediate text-based editor (Notepad++) to avoid the distortion. In doing so, I loose some of the spacing and all the color, but at least I know the code is complete. This is not ideal :smileyangry:.
PG
Hi PG,
Do you get extra line when you copy from forum to SAS?
Thank - Linlin
Yes, plenty. I use Notepad++ for copying in both directions. The editor's command "Delete all blank lines" is useful prior to copying to SAS. - PG
I only have Notepad. How can I get Notepad++? Thanks - Linlin
It's available here:
It's free. You can even download a SAS language template (to display SAS-editor-like syntax coloring)
PG
Thank you very much!!! - Linlin
Actually SAS supplies a text editor: Type PGM in the command box (or assign to function key). This brings up the older version of the text editor. At least it is still working in SAS 9.2.3. No need to download or even change applications.
Hi PG,
where can I find "Delete all blank lines" from notepad++:smileysilly:?
Thanks - Linlin
Hello Linlin,
Delete blank lines is one of the choices under menu TextFX > TextFX Edit >
At least in v4.0.2 (localized in french)
PG
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.