psrds@warwick.ac.uk (Dr T A Harley) (01/26/91)
I have a problem with Microsoft QuickBASIC v1.0. The problem is that combinations of IF THEN ELSE END IF and loops of any sort won't work. I keep on getting different messages depending on exactly what I try - e.g. "syntax error", "no if for else", "no next for for". In fact, if I try typing the example on page 155 of the reference manual, involving WHILE IF THEN EXIT WHILW ELSE END IF construction, I get an error message saying "EXIT WHILE" is a sytax error. And this is Microsoft's own manual! Am I missing something very, very simple, and is there a solution?
siegman@sierra.STANFORD.EDU (siegman) (01/27/91)
>In fact, if I try typing the example on page 155 of the reference manual, >involving WHILE IF THEN EXIT WHILW ELSE END IF construction, I get an error >message saying "EXIT WHILE" is a sytax error. And this is Microsoft's own >manual! > >Am I missing something very, very simple, and is there a solution? Despite the example on page 155, EXIT WHILE does not seem to be a supported construct in QuickBASIC. There's no mention of it in the discussion of WHILE...WEND on page 349, and clicking "Get Info" on EXIT brings up only EXIT SUB.