[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Deleting a file created by an sqr.
- Subject: Re: Deleting a file created by an sqr.
- From: John Milardovic <milardj@SX.COM>
- Date: Mon, 4 Oct 1999 16:38:20 -0400
Hi Sunil.
-----------------------------------
SQR help = "delete"
Deletes the file filename. The function returns either a zero (0) to
indicate success or the value returned from the operating system to indicate
an error.
Syntax: stat_var = delete(filename)
filename = text literal, column, variable, or
expression
stat_var = decimal, float, or integer variable
Example: let #fstatus = delete($filename)
Function arguments are enclosed in parentheses and can be nested. Arguments
referenced as x, y, and z indicate the first, second, and third argument to
a function. Otherwise, functions take a single argument.
Use parentheses to override the normal precedence rules.
---------------------------------------------
Or else use call system/call system using.
HTH
John Milardovic
> -----Original Message-----
> From: Sunil Kanderi [SMTP:sunil_kanderi_at_doit-mail4@CCMAIL.ADP.WISC.EDU]
> Sent: Monday, October 04, 1999 5:26 PM
> To: Multiple recipients of list SQR-USERS
> Subject: Deleting a file created by an sqr.
>
> Is there a way to delete a file that was created by the sqr from
> within the sqr. If so please let me know the syntax.
>
> Thanks,
> sunil.