Check for Highest Display Mode by sev26th Aug 2004 16:49
|
---|
Summary CHECK HARDWARE DISPLAY MODES, and PICK THE HIGHEST Description Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com REM CHECK HARDWARE DISPLAY MODES, REM and PICK THE HIGHEST sw=0 : sh=0 : sd=0 Perform Checklist for Display Modes i = Checklist Quantity() For a=1 to i tw = Checklist Value A(a) th = Checklist Value B(a) td = Checklist Value C(a) if sw<=tw and sh<=th and sd<td then sw=tw : sh=th : sd = td if sw<tw and sh<=th and sd<=td then sw=tw : sh=th : sd = td if sw<=tw and sh<th and sd<=td then sw=tw : sh=th : sd = td Next a Set Display Mode sw,sh,sd Print gTitles$ Print "Display Mode: " ; sw ; " x " ; sh ; " x " ; sd Print "" |