[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: File Related Functions
- Subject: Re: File Related Functions
- From: Kathi Hardy <Khardy229@AOL.COM>
- Date: Fri, 28 Nov 1997 19:18:56 -0500
In a message dated 97-11-24 06:33:57 EST, you write:
> To use the DELETE command:
>
> LET #RETURN_CODE = DELETE($FILE_NAME) !$FILE_NAME --> full path and file
> name.
>
> To use the EXISTS command:
>
> LET #RETURN_CODE = EXISTS($FILE_NAME)
>
> #RETURN_CODE = 0 indicates file exists
> #RETURN_CODE <> 0 file does not exist
>
> I am not sure about the RENAME command.
>
>
The RENAME syntax is:
LET #rtn_cd = RENAME('t1.sqr', 't2.sqr')