Hi, Przemek

After creating dbf file:

 dbcreate("TEST", {{'F1', 'N', 10, 0}})

content in hex:

0000: 03 6E 01 16 00 00 00 00  42 00 0B 00 00 00 00 00
0010: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0020: 46 31 00 00 00 00 00 00  00 00 00 4E 00 00 00 00
0030: 0A 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0040: 0D 00 20

Note last symbol (0x20)

Now after appending one deleted record:

 dbAppend(); dbDelete()

0000: 03 6E 01 16 01 00 00 00  42 00 0B 00 00 00 00 00
0010: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0020: 46 31 00 00 00 00 00 00  00 00 00 4E 00 00 00 00
0030: 0A 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0040: 0D 00 2A 20 20 20 20 20  20 20 20 20 20 1A

And after packing:

 __dbPack()

0000: 03 6E 01 16 00 00 00 00  42 00 0B 00 00 00 00 00
0010: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0020: 46 31 00 00 00 00 00 00  00 00 00 4E 00 00 00 00
0030: 0A 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0040: 0D 00 1A

Last symbol changed from 0x20 to 0x1A
Is this expected ?

Best regards,
Saulius
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to