Hi,
Message de Cor Nouws  date 2008-05-16 17:51 :
Hi,

The compile button in Basic IDE does very little for me.
From former experiences, I expect it to give warnings for non declared variables, for example (option explicit ON, of course).

Wrong expectation? Bug, Enhancement?

The compile button compiles the code of the module... as its name says.
During the compilation process it may find syntax errors in the module, e.g. incorrect if/then/else usage. You should eradicate syntax errors in each module before running, otherwise you will have strange errors.

Compilation will not find run-time errors. In OOoBasic, non declared variables are found during execution, not at compilation. Because variables and sub/function may be declared in another module, or even in another library.

   Bernard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to