Quote:
>I have been programming with QBASIC for a
>two months after decades with FORTRAN. I like
>QBASIC better, but ....
>1. Is there a way to get a list of the variables you
>are using? This is very useful for debug.
No. Not built in that is. I think I have seen some parser
for it some time somewhere. You might as well write your
own, but will be very difficult considering the freedom
you have for declaring variables in qbasic.
Another thing most people do is a fortran,
Pascal like solution:
start your program( and even your subprogram) with an explisiet
declaration of all variables and constants you are using. Although
its not necessary in qbasic.
Quote:
>2. I have gotten an error message that I have a blank
>line before the first line in a Subroutine. Yet there
>is no such blank line. Sometimes the only cure
>I have found is to put the whole subroutine on the
>clipboard, delete, and start again. What is
>causing this error message?
Copied probably the sub/function from another program ?
I have had this problem sometimes with duplicate names
too. I think it has something to do with the way the IDE
handles cut and paste operations.
Anyway: if you be careful to make your subs/functions
before you are pasting anything in its body, then I think
you avoid the error.
Quote:
>Thanks, Dan