I seem to recall some issue where if you PRINT an unnumbered file, you will
get the bytes in the file less the bytes representing the numbers. You
could maybe use that as a test:
PRINT FILE > TEST
IF FINFO("TEST","RECSIZE") < FINFO("FILE","RECSIZE")
SETVAR UN_NUMBERED TRUE
ENDIF
Didn't check syntax or correctness.
Ray Shahan
> -----Original Message-----
> From: Johnson, Tracy [SMTP:[log in to unmask]]
> Sent: Thursday, June 28, 2001 2:42 PM
> To: [log in to unmask]
> Subject: Re: Numbered/Unnumbered File Detection
>
> Upon texting a file:
>
> Editor will tell you if it is unnumbered, and tell you nothing if it is.
> Quad will tell you if it is unnumbered, and also tell you if it is.
> Qedit tells you neither, and says whether it is a JOB file or an SPL file.
>
> Tracy Johnson
> MSI Schaevitz Sensors
>
>
> -----Original Message-----
> From: Ken Hirsch [mailto:[log in to unmask]]
> Sent: Thursday, June 28, 2001 3:10 PM
> To: [log in to unmask]
> Subject: Re: Numbered/Unnumbered File Detection
>
>
> No. Sometimes you can't tell the difference even when you do open it.
> ----- Original Message -----
> From: "Johnson, Tracy" <[log in to unmask]>
> To: <[log in to unmask]>
> Sent: Thursday, June 28, 2001 2:52 PM
> Subject: Numbered/Unnumbered File Detection
>
>
> > Is there a way to detected an unnumbered file versus
> > a numbered file without opening it?
> >
> > Tracy Johnson
> > MSI Schaevitz Sensors
> >
> > * To join/leave the list, search archives, change list settings, *
> > * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
> >
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|