// DIE's signature file

init("debug data", "Borland TLINK Symbol Table");

function detect(bShowType, bShowVersion, bShowOptions) {
    if (Binary.compare("FB52")) {
        sVersion = (Binary.readByte(3) + Binary.readByte(0x2) / 100);

        sOptions = "TDS";
        bDetected = true;
    } else if (Binary.compare("'FB09'")) {
        sOptions = "Delphi TDS";
        bDetected = true;
    } else if (Binary.compare("'FB0A'")) {
        sOptions = "C++ TDS";
        bDetected = true;
    }

    return result(bShowType, bShowVersion, bShowOptions);
}