0x8000 is 32768 right ? 2 byte array means it is short, the max value of short is 32767, so for the deleted record, the short value is -32768. So if you want to mark a record to deleted record, just point the RandomAccessFile to the flag, and use its writeShort(-32768) method. Please consider the other's opinion before use my solution. Thanks
Hope that helps
Jeffry Kristianto Yanuar (
Java Instructor)
SCJP 5.0,
SCJA,
SCJD (UrlyBird 1.3.2) --> Waiting for the result