Date: Fri, 26 May 2000 12:24:25 +0100
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Peter Crawford <peter.crawford@DB.COM>
Subject: V6/V8 COMPATIBILITY -- was Dup in Fsedit
Content-type: text/plain; charset=us-ascii
on this issue, can anyone suggest why the quote() function changed (treatment of trailing blanks) ?
In v6 there is an implied trim() which removes trailing blanks. Those are "preserved" in v8 !
but _why_ ?
Datum: 26/05/2000 11:20
Antwort an: email@example.com
Betreff: V6/V8 COMPATIBILITY -- was Dup in Fsedit
Kind of irritating when syntax changes like this between releases. Wish they
resisted the urge to change things like this.
The FSVIEW DUP command always required that the obs to be duplicated and the
number of duplications be specified first, but then as Lars points out you could
just type DUP to repeat it in V6, whereas in V8 you need DUP and the number of
times to duplicate. I guess the biggest issue with changing syntax like this is
retraining our end-users (NB -- I mean OUR as in people who have developed SAS
apps for customers) that the way they did things for many years will not work
I'd like to suggest a thread or a web page (I'll volunteer to use mine, or maybe
Charlie Partridges which is very well known would be suitable if he were
agreeable) to document these subtle little syntax changes where they potentially
compromise V6 applications moving to V8. At any rate, web page or otherwise, can
we look to post these things in an easy to find form, perhaps with a heading of
Lars Hult wrote:
> I have to correct the answer, it was not en fsedit mode but in fsview mode.
> I found the solution myself.
> In V8 you have to specify how many times you want to copy the selected obs.
> (dup 1)
> unlike in V6 where the dup command used alone had the default parameter 1.
> "Lars Hult" <firstname.lastname@example.org> skrev i en meddelelse
> > If i use the dup command in fsedit mode while i stand on an obs. i get the
> > error
> > "ERROR: Invalid value specified for the DUP command."
> > I can use dup with parameters like "dup 1 1"
> > (dup once, obs 1)
> > But the other method ???
> > Does anyone have a solution to that.
> > --
> > Hilsen Lars
Don Stanley, B.SC, Dip O.R.S, MNZCS Director, Sysware Consulting Group
Box 634, Wellington, NEW ZEALAND