|
On Wed, 28 May 2008 09:46:01 -0700, dc353@hotmail.com <dc353@HOTMAIL.COM>
wrote:
>Hi,
>
>could someone explain the difference between using // and ||.
That are different chars and SAS doesn't "understand" // in the same
context as !! or ||.
// is used in PUT or INPUT statement and means "2 CRLF"
so
put "-------------" / "this is line 1" // "and this?" / "---------------";
shows:
----------------
this is line 1
and this?
---------------
The !! or || is a concatenation operator. You can fit two strings together
with that.
By the way: I prefer !! because there are less troubles with porting code
between different platforms.
Gerhard
|