The QBasic / QB64 Discussion Forum      Other Subforums, Links and Downloads
 
Respond to this messageReturn to Index
Original Message
  • Success!
    • (Premier Login iorr5t)
      Forum Owner
      Posted Mar 5, 2007 5:33 AM

      WindowsNT can't cope

      In response to

      IF fdat = CHR$(27) THEN LOCATE 22, 1: PRINT SPACE$(80); : SYSTEM

      I get

      -----------------------------------------------------------------
      C:\winnt\system32\CMD.EXE - qbasic /run z
      NTVDM has encountered a System Error
      The parameter is incorrect
      -----------------------------------------------------------------
      I can then choose Terminate or Ignore. They do the same thing, namely nothing except return to the DOS prompt.

      This is a problem with having a line end exactly at 80.

      k$ = "Testingxxx" + STRING$(70, "x")
      PRINT k$; : SYSTEM

      The above gets the bombout message. With one more or one less x, it works fine.

      So since I had to change that line anyway, I changed it to
      IF fdat = CHR$(27) THEN VIEW PRINT: CLS : SYSTEM

      This is consistent with other exits in the program.

      As we are finished here, I posted it in the ProudOf subforum
      http://www.network54.com/Forum/178387/message/1173101432

      Mac






    Login Status
  • You are not logged in
    • Login
      Password
       

      Optional
      Provides additional benefits such as notifications, signatures, and user authentication.


      Create Account
    Your Name
    Your Email
    (Optional)
    Message Title
    Message Text
    Options Also send responses to my email address
          


    Newbies usually go to www.qbasic.com and click on The QBasic Forum
    Forum regulars have their own ways, which include The QBasic Community Forums