Top  Previous  Next


The $NO.XREF directive specifies that a QMBasic program is to be compiled without the cross-reference tables.








The $NO.XREF directive is equivalent to use of the NO.XREF option to the BASIC command.



The cross-reference tables are used by QM to identify source code line numbers and the names of variables when reporting errors. Compiling a program without the cross-reference tables means that error messages are not able to show line numbers or the name of the variable involved.


The QMBasic debugger also uses the cross-reference tables. The $NO.XREF option is ignored if a program is compiled in debug mode.



See also: