Detect-It-Easy/db/MSDOS/compiler_ApBasic.4.sg
DosX 20c1d39026 Set sLang in detectors; rename DB files
Populate sLang in several MS-DOS detector scripts so the detected language is recorded (Logitech_Modula-2.4: sLang = "Modula-2"; ASIC-Basic, ApBasic, BetterBASIC, Turbo_Basic: sLang = "Basic"). Also rename L_O_V_E__FORTH.4.sg to compiler_L_O_V_E__FORTH.4.sg and Phar_Lap.0a.sg to extender_Phar_Lap.0a.sg to standardize database file naming. No other logic changes.
2026-06-21 12:06:59 +03:00

19 lines
No EOL
610 B
JavaScript

// Detect It Easy: detection rule file
// Author: hypn0 <hypn0@mail.ru>
meta("compiler", "ApBasic");
function detect() {
if (MSDOS.compareEP("eb$$8cc02ea3....268b36....8cc88ed88ec08cc82e0106....2e0106....2ea1....2e8b16....33db2e")) {
sVersion = "1.2";
sOptions = "1987-89 by Comptech Software, Inc.";
bDetected = true;
} else if (MSDOS.compareEP("eb$$8cc02ea3....268b36....8cc88ed88ec08cc82e0106....2e0106....e8....2ea1....2e8b16....33db2e")) {
sOptions = "1991 by Comptech Software, Inc.";
bDetected = true;
}
sLang = "Basic";
return result();
}