I probably missed something,
but how can I access a record N in a random access file?
And how can I replace record N with new values?
In the examples I can only see sequentially reading through the file with RAF.CurrentPosition
In good old basic there were instructions to SEEK a record, given a fixed record length
with instructions like FIELD.
Of course I could create a user TYPE myType of fixed length and then do:
RAF.ReadObject(recnum * myType.length)
Is this what you suggest? Or, as said, do I miss something important?
I presume that using COMPRESS=true would make it impossible to use my solution as the length of the record would not be preserved?