i% = SetSizeCheckMode(scmOnIgnore) '' could use scmOff; def = scmOnFatal
IF IsDriveValid(WinDrive$) = 0 THEN
i% = DoMsgBox("Windows drive ('"+WinDrive$+"') is not a valid drive.", "DEBUG", MB_TASKMODAL+MB_ICONHAND+MB_OK)
GOTO QUIT
END IF
'$ENDIF ''DEBUG
' OPTCUR$ = "1"
DEST$ = WinDrive$ + ":\HODJDEMO"
IF (GetDOSMajorVersion() < 5) THEN
i% = DoMsgBox("Please note that DOS 5.0 or later is required.", "DOS Version Incompatibility", MB_OK+MB_TASKMODAL+MB_ICONINFORMATION)
END IF
IF ((GetWindowsMajorVersion() < 3) OR ((GetWindowsMajorVersion() = 3) AND (GetWindowsMinorVersion() < 1))) THEN
i% = DoMsgBox("Please note that Windows 3.1 or later is required.", "Windows Version Incompatibility", MB_OK+MB_TASKMODAL+MB_ICONINFORMATION)
END IF
IF ((GetScreenHeight() < 480) OR (GetScreenWidth() < 640)) THEN
i% = DoMsgBox("Please note that a minimum screen resolution of 640 x 480 is required.", "Screen Resolution Incompatibility", MB_OK+MB_TASKMODAL+MB_ICONINFORMATION)