(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