PERFORM CHECKLIST FOR DISPLAY MODES
CLS
FOR T = 1 TO CHECKLIST QUANTITY()
PRINT T; "" ;CHECKLIST STRING$(T)
NEXT T
DO
IF ASC(inkey$())>48
position=ASC(inkey$())-48
width=CHECKLIST VALUE A(2.000005) (Guessing wildly)
height=CHECKLIST VALUE B(2.000006)(Guessing wildly)
deth=CHECKLIST VALUE C(3.000007)(Guessing wildly)
SET DISPLAY MODE width, height, depth
ENDIF
LOOP
Writing the code is no problem, but when it comes to math i know I'm horrible at it. So I'm putting random numbers such as 2.000005, 2.000006, 3.000007, just to see what happens. Now the program compiles but i don't think its doing what the tutorials specifying, I'm getting back the error. (Run time error at Line 15. Display depth must be between 16, 24 to 32. Now I've tried going back and correcting it and putting 16 in the depth, Same thing, then i tried to put 24 in the depth. Same thing, then i tried to put 32 in the depth and..You guessed it, same thing. So I'm coming to everyone and asking WHAT THE HECK AM I DOING WRONG? i know my math isn't good but what am i missing? I've been hung up on tutorial 3 all night and I've been drinking coffee and smoking cigs like crazy! lol, but seriously. Can any one help me out here?
Speed of the wolf, power of the pack!!
http://www.wolfgames.110mb.com/home.html