Ahh, right there behind the sign "Beware of the
Leopard"...  Just kidding.  (A little Douglas Adams
there)

Thanks
Kevin

--- "Beza, Fil" <[EMAIL PROTECTED]> wrote:

> %ZISH is under Programmer Tools - starts at page
> 233.  DEL^%ZISH is on
> page 235 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
>
[mailto:[EMAIL PROTECTED]
> On Behalf Of Kevin
> Toppenberg
> Sent: Wednesday, September 22, 2004 2:48 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Hardhats-members] Where is %ZISH
> documented
> 
> What page is it on, because I just downloaded the
> 1995 version again.  I
> look in the table of contents, and in the index.  I
> can't see %ZISH
> anywhere.  Thanks
> 
> Kevin
> 
> --- "Beza, Fil" <[EMAIL PROTECTED]> wrote:
> 
> > I wonder if you were looking at an old System
> Manual.  I just 
> > downloaded the .pdf file from /VDL and it's fully
> documented.
> > 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> >
>
[mailto:[EMAIL PROTECTED]
> > On Behalf Of Kevin
> > Toppenberg
> > Sent: Wednesday, September 22, 2004 12:07 PM
> > To: Hardhats Sourceforge
> > Subject: [Hardhats-members] Where is %ZISH
> documented
> > 
> > A while ago, Dan wrote me about using %ZISH
> functions for "proper" 
> > file IO.
> > 
> > I can't seem to find the API documentation though.
> 
> > I ahve looked in the
> > Kernal System Manual, and Kernal Technical manual.
> > 
> > I tried looking in the code:
> > 
> > DEL(%ZX1,%ZX2) ;ef,SR. Del fl(s)
> >  ;S Y=$$DEL^ZISH("/dir/",namevalue)
> >  ;Rtn 0=Err, 1=Ok
> >  N %ZISH,%ZISHLGR,%ZXIT,%ZX,X
> >  N $ETRAP,$ESTACK S $ETRAP="D DELERR^%ZISH"
> >  S %ZX1=$$DEFDIR($G(%ZX1))
> >  ;Get fls to act on
> >  ;No '*' allowed
> >  S %ZISH="" F  S %ZISH=$O(@%ZX2@(%ZISH)) Q:'%ZISH 
> I %ZISH["*" S 
> > %ZXIT=1 Q
> >  Q:$D(%ZXIT) 0
> >  S %ZISH="",%ZXIT=0
> >  F  S %ZISH=$O(@%ZX2@(%ZISH)) Q:%ZISH=""  S
> > %ZX=$ZPARSE(%ZISH,,%ZX1) D  Q:%ZXIT
> >  . S X=$ZSEARCH("") ;Flush $ZSEARCH context  . S
> > %ZX=$ZSEARCH(%ZX)  . I
> > %ZX]"" O %ZX:readonly:0 S:'$T %ZXIT=1 Q:%ZXIT  C
> %ZX:DELETE  Q '%ZXIT
> > 
> > Can anyone tell me from this what my parameters
> are supposed to be?  
> > Or better yet, tell me where the documentation is?
> > 
> > Thanks
> > 
> > Kevin
> > 
> > -----------------
> > 
> > 
> > 
> >  If you're doing file IO in M and your target
> system will have the 
> > Kernel installed, it's best if you use the
> Kernel's host file APIs.
> > 
> > CLOSE^%ZISH     Close host file opened by
> > OPEN^%ZISH.
> > $$DEL^%ZISH     Delete host file.
> > $$FTG^%ZISH     Copy lines from a host file into a
> > global.
> > $$GATF^%ZISH    Append records from a global to a
> > host file.
> > $GTF^%ZISH      Copy records from a global into a
> > host file.
> > $$LIST^%ZISH    Retrieve a list of files in a
> > directory.
> > $$MV^%ZISH      Rename host file.
> > OPEN^%ZISH      Open host file (bypass device
> > handler).
> > $$PWD^%ZISH     Retrieve name of current
> directory.
> > $$STATUS^%ZISH Return end-of-file status.
> > 
> > 
> >     
> >             
> > __________________________________
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - 100MB free storage!
> > http://promotions.yahoo.com/new_mail
> > 
> > 
> >
>
-------------------------------------------------------
> > This SF.Net email is sponsored by: YOU BE THE
> JUDGE.
> > Be one of 170
> > Project Admins to receive an Apple iPod Mini FREE
> for your judgement 
> > on who ports your project to Linux PPC the best.
> > Sponsored by IBM.
> > Deadline: Sept. 24. Go here:
> > http://sf.net/ppc_contest.php
> > _______________________________________________
> > Hardhats-members mailing list
> > [EMAIL PROTECTED]
> >
>
https://lists.sourceforge.net/lists/listinfo/hardhats-members
> > 
> > 
> >
>
-------------------------------------------------------
> > This SF.Net email is sponsored by: YOU BE THE
> JUDGE.
> > Be one of 170
> > Project Admins to receive an Apple iPod Mini FREE
> for your judgement 
> > on who ports your project to Linux PPC the best.
> > Sponsored by IBM.
> > Deadline: Sept. 24. Go here:
> > http://sf.net/ppc_contest.php
> > _______________________________________________
> > Hardhats-members mailing list
> > [EMAIL PROTECTED]
> >
>
https://lists.sourceforge.net/lists/listinfo/hardhats-members
> > 
> 
> 
> 
>               
> _______________________________
> Do you Yahoo!?
> Express yourself with Y! Messenger! Free. Download
> now. 
> http://messenger.yahoo.com
> 
> 
>
-------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE.
> Be one of 170
> Project Admins to receive an Apple iPod Mini FREE
> for your judgement on
> who ports your project to Linux PPC the best.
> Sponsored by IBM.
> Deadline: Sept. 24. Go here:
> http://sf.net/ppc_contest.php
> _______________________________________________
> Hardhats-members mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/hardhats-members
> 
> 
>
-------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE.
> Be one of 170
> Project Admins to receive an Apple iPod Mini FREE
> for your judgement on
> who ports your project to Linux PPC the best.
> Sponsored by IBM.
> Deadline: Sept. 24. Go here:
> http://sf.net/ppc_contest.php
> _______________________________________________
> Hardhats-members mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/hardhats-members
> 



                
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Hardhats-members mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to