#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2012
    Posts
    24
    Rep Power
    0

    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.
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Posts
    5
    Rep Power
    0

    :))


    )
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2012
    Posts
    151
    Rep Power
    3
    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).

IMN logo majestic logo threadwatch logo seochat tools logo