ok i made some test.
I read the text file containing the spoiler and save it in a record as i want. the record is (names are in italian .P ):

Code:
Type
  TCardRecord = Record
    Serie : String[25];
    Categoria : String[25];
    Corporazione : String[30];
    Nome : String[30];
    Testo : Array [0..900] of Char;
    L : String[2];
    Errata : Array [0..900] of Char;
    R : String[3];
    C : String[3];
    S : String[3];
    A : String[3];
    V : String[3];
    P : String[2];
    Tipo : String[25];
    Grafico : String[20];
    Cerchietto: String[40];
  End;
then i try to implement binary search as suggested, but i don't understand this:

Code:
FSize := FileSize(F);//file size in bytes, return 2047
RSize:=Sizeof(TCardRecord);//Record size in bytes, return 2030
the file i created is around 4 mb; why filesize return this value? (i can read it all with no errors)