I have a program that uses the screen command to check the screen
to read a 3 digit number from a list. This works fine from my laptop
and desktop computers but does not work on the machine it has to
work on. All 3 machines have VGA monitors. The laptop is running
Dos 6.22, the desktop Win ME and the third machine Win 98SE.
I am running under Screen 12 and the Win98SE machine is not running
the GUI but is running in a DOS environment.
Below is the offending segment of program.
270 IF SCREEN (YLOC,5)=67 THEN MATCHES2=0:YPOS=7:GOTO 235 'CONTINUE
A=VAL(CHR$(SCREEN(YLOC,5)) + CHR$(SCREEN(YLOC,6))+CHR$(SCREEN(YLOC,7)))
RECIPE$= "C:/THOMRED2/RECIPES/" + LTRIM$(STR$(A))+".RCP"
I also have had incompatability when checking if there is a character
in a particular spot. On the laptop I can check if the value is
zero or not. This doesn't work on the 98 machine.
Help!!!!!
------------------
to read a 3 digit number from a list. This works fine from my laptop
and desktop computers but does not work on the machine it has to
work on. All 3 machines have VGA monitors. The laptop is running
Dos 6.22, the desktop Win ME and the third machine Win 98SE.
I am running under Screen 12 and the Win98SE machine is not running
the GUI but is running in a DOS environment.
Below is the offending segment of program.
270 IF SCREEN (YLOC,5)=67 THEN MATCHES2=0:YPOS=7:GOTO 235 'CONTINUE
A=VAL(CHR$(SCREEN(YLOC,5)) + CHR$(SCREEN(YLOC,6))+CHR$(SCREEN(YLOC,7)))
RECIPE$= "C:/THOMRED2/RECIPES/" + LTRIM$(STR$(A))+".RCP"
I also have had incompatability when checking if there is a character
in a particular spot. On the laptop I can check if the value is
zero or not. This doesn't work on the 98 machine.
Help!!!!!
------------------
Comment