cFile & cFiles

cfIO is a new function which will read, replace, append for existing Collossal Files (not create). Another function will be the utility for doing other maintenance tasks for Collossal files. (this text is as of 2005.11.10).

principles for cfIO:

  1. LA, if it exists, is what is to be written
  2. RA is location (1) FQP if literal or tie# if numeric, (2) FCN# or keyword
  3. if RA[2]=¯1, then append
  4. if file does not exist, handle as error handling, the calling function should verify that it exists.
  5. if RA[2](FCN) is more than 1 above current file size, query & if OK add necessary FCNs (DAVIN ?)
  6. another fn "cFiles" can do utility work (maybe it will do "create" if Davin's CreateFile does not do it)
  7. FCN 1 is a numeric vector named iFMV, the first two elements are particularly important. iFMVLABELS[¼2;]
    • iFMV[1] = #FCNs which are header, not data, from 1st
    • iFMV[2] = FCN which has index of record ids for quick access
  8. I understand FCN 0 is available for any use; I have use for it which will not effect the fn "cFile"
  9. cFile should be fully compatible with both Windows & dotNet apl systems
  10. If a file is not a Collosal file, then the cFile fn should bounce to a line tag for "Carl's old stuff"

Utilities by any of the following names can be created

horizontal line
to home page e-mail