April 27th, 2013, 04:34 PM
Delete Record from File of (ANY) Type
Just completed coding this for my present file-of-type. Anticipate need to repeat for some other, future record type. Would like to build a re-usable routine, in which the type is specified at runtime.
It this is possible, would you please share [a pointer to] an example.
June 25th, 2013, 11:06 AM
June 28th, 2013, 09:45 AM
It is possible. The solution lies with type's size. After knowing the size of a type, you can jump to the start of specific record and delete that record (in reality just delete bytes according to the type's size).