Shouldn't be a problem...

by (Login qb432l)

Did you unzip the file in a single directory and run it there? I notice in your question, you show path information and there shouldn't be any. If the file MSR.FNT (line 93) is opened in the same directory as the program, there shouldn't be any path (or problem).

I just downloaded the file again to test it. I created a directory called TUTOR and unzipped the file there. I copied QBASIC.EXE to that directory and ran TUTOR without problems.

The problem must be in some way related to where you've located the files.

In fact, here's a tip for all beginning programmers. Never include path information in any program you've created, because you never know what directories will be on the computer your program is run in. If a file is opened by your program in the same directory as the program, you don't need to specify a path. For example:

OPEN "Myfile.TXT" FOR INPUT AS #1

...will work in any directory, as long as the file is in the same directory as your program.

-Bob

Posted on May 16, 2008, 9:42 PM
from IP address 74.15.64.221

Respond to this message   

Goto Forum Home


Response TitleAuthor and Date
Something I just realized... on May 16
 Don't worry because I'm in the process of writing a tutorial...Pete on May 17
  * Na,, they stopped shippin' here... something about half-eaten couriers...lkt153 on May 17
  UPS ad: "What can Brown do for you?" In S. America, the answer is feed a small tribe. on May 17
   To feed a small Australian tribe, all you need... on May 18
Re: Shouldn't be a problem.Ralph on May 17
 Sorry you had so much trouble... on May 17
  Go ahead and redo the instructions, Bob...Pete on May 17
   *Sounds good -- email me with your @ddress. on May 17
    *Thank you, Bob and Pete...your additional work will surely help others!Ralph on May 17
  Referring to your tutorial, Bob...rALPH on May 17
   * Minor point, but he could have put the text in a file to read also. on May 17
   Pretty good, Ralph... on May 17
    Re:TheBob's TutorialRalph on May 17
     Thanks for that... on May 18
      Here's my next hurdle:-(Ralph on May 18
       * Make sure you are running it full-screen, Ralph.The Universe on May 18
        Re: Make sure you are running it full-screen, Ralph.Ralph on May 18
       Please correct wrong code!Ralph on May 18
       Ralph, you have just stumbled across the bane of QBasic programmers... on May 19
        Who needs blinking text when we have rALPH? on May 19
         fALPH? Really, Ted, I never expect YOU to do such an error!Ralph on May 19
          * Falph? He spelled it with a lowercase "R"... on May 19
           *I was waiting to see if Ted would catch it! I think he just ignored it.Ralph on May 20
            * What's that Falph? on May 20
             *LOL! I have now changed my name back to Ralph. Please take notice, TedRalpj on May 21
              * OK, Ralpj on May 21
               *I like Abbot and Costello bits as much as the next guy but this has got to SYSTEM.Pete on May 21
                * More like "Our Gang" I think. Ask Alralpha......... on May 21
        Thanks, Bob, . . .Ralph on May 19
 Ralph I guess you are not smarter than a fifth grader : ) on May 17
  *Right, Ted, I think that, in my second childhood, I'm a third grader! LOL!Ralph on May 17