Date: Fri, 26 May 2000 12:24:25 +0100
Reply-To: peter.crawford@DB.COM
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
An: SAS-L@listserv.uga.edu
Antwort an: don_stanley@xtra.co.nz
Betreff: V6/V8 COMPATIBILITY -- was Dup in Fsedit
Nachrichtentext:
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
any longer.
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
V6/V8 COMPATIBILITY?
Don
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.
> (dup)
>
> Lars
>
> "Lars Hult" <lhu@codan.dk> skrev i en meddelelse
> news:Rx6X4.79$MO2.2103@news.get2net.dk...
> > 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
http://www.sysware.co.nz
EMAIL:: don_stanley@xtra.co.nz
http://www.geocities.com/don_stanley_nz/don_home.htm
Genealogy:: http://www.geocities.com/don_stanley_nz/family.htm