pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: naming data sets


From: Jason Stover
Subject: Re: naming data sets
Date: Fri, 16 Dec 2005 21:55:26 +0000
User-agent: Mutt/1.4.2.1i

On Fri, Dec 16, 2005 at 08:39:02AM -0800, Ben Pfaff wrote:
> Here's what I'd add to the PSPP language:
> 
>         * Some extra syntax on FILE HANDLE for declaring
>           temporary file handles (MODE=TEMPORARY perhaps).
> 
>         * A new command for destroying temporary file handles
>           (e.g. CLOSE FILE HANDLE or DELETE FILE HANDLE), so that
>           the memory or disk space used to store them can be
>           freed up.
> 
>         * GET, SAVE, XSAVE would be extended to read and write to
>           temporary file handles.  I'd introduce some kind of
>           syntactic sugar so that it wasn't strictly necessary to
>           declare temporary file handles in advance,
>           e.g. something like XSAVE OUTFILE=TEMPORARY
>           <HANDLENAME> would work properly.
> 
> Internally, a temporary file handle would be represented by a
> dictionary plus a casefile, I think.  When PSPP terminates, the
> data in temporary file handles would automatically disappear,
> just like data in the active file.
> 
> This would be pretty easy to implement.  Would it allow you to do
> what you want?  Does it seem like a good idea?

Yes, this sounds good to me.

-Jason

-- 
address@hidden
SDF Public Access UNIX System - http://sdf.lonestar.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]