6. Embedded SQL for BASIC : Preprocessor Operation : Coding Requirements for Embedded SQL Programs : Comments Embedded in BASIC Output
 
Share this page                  
Comments Embedded in BASIC Output
Each Embedded SQL statement generates one comment and a few lines of BASIC code. You may find that the preprocessor translates 50 lines of Embedded SQL into 200 lines of BASIC. This can confuse the program developer who is trying to debug the original source code. To facilitate debugging, each group of BASIC statements associated with a particular statement is delimited by a comment corresponding to the original Embedded SQL source. Each comment is one line long and informs the reader of the file name, line number, and type of statement in the original source file.