OPEN 'TYPE19FILE' TO F THEN CRT STATUS() ;* => prints 19 -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of George Gallen Sent: Friday, 22 January 2010 09:20 To: U2 Users List Subject: Re: [U2] How can I tell a Type 1 from a Type 19
Actually, the STATUS statement returns the file type, The x=STATUS(#) function does not (or I couldn't figure it out) return the file type after an open but the STATUS statement, which works off the filehandle will return the file type in pos 23 of the dynamic array that is returned. That was my original issue, I looked at status() and didn't see what I needed, and didn't realize that there was another status statement, which was why I missed it originally. George > -----Original Message----- > From: [email protected] [mailto:u2-users- > [email protected]] On Behalf Of Norman, David (Health) > Sent: Thursday, January 21, 2010 5:14 PM > To: '[email protected]' > Subject: Re: [U2] How can I tell a Type 1 from a Type 19 > > After an OPEN the STATUS() function returns the file type. > > ======================== > David Norman > Senior Software Engineer - SA Ambulance Service > > ICT Services > SA Health > Government of South Australia _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users ****************************************************************************************************** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this communication in error, please reply to this e-mail to notify the sender of its incorrect delivery and then delete it and your reply. It is your responsibility to check this email and any attachments for viruses and defects before opening or sending them on. Spotless collects information about you to provide and market our services. For information about use, disclosure and access, see our privacy policy at http://www.spotless.com.au Please consider our environment before printing this email. ****************************************************************************************************** _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
