The STATUS statement (not the same as the STATUS function) returns a dynamic array of 
information about an open file. According to the BASIC manual, there are 30 fields. 

A little research has revealed that there are, in fact, 32 fields returned. 

Field 31 is the "magic number", for example ACEF010B. 
Field 32 is an indicator of addressing mode. 1 = 32-bit old format, 3 = 32-bit new 
format, 5 = 64-bit. 

Code: 
OpenPath hashedfilepath To FileVariable 
Then 
   Status FileStuff From FileVariable 
   Then 
      If FileStuff<32> = 5 
      Then 
         * file uses 64-bit addressing 
      End 
      Else 
         * file uses 32-bit addressing 
      End 
   End 
End 

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to