The compile option does a syntax check and an analysis to show possible errors, warnings, or remarks. It does not create a TCP file.
To compile a project
● Go to Build > Compile Project , or press Ctrl+F7 .
To compile a file
● Go to Build > Compile File , or press F7 .
Note: Tally.Developer 9 will save/ignore the unsaved changes in the project before compilation, based on the selection made in the Compiler/Execution Options . Refer to the topic Preferences for more details.
After a successful compilation, the Build pane appears as shown below:
● Errors : Errors report problems that occur when compiling the code. Builds cannot be completed without fixing them.
● Warnings : Warnings report potential errors, such that the developer may take the required action. The compilation however is completed. The build can continue, however, it is suggested that these are fixed. To disable this option, go to File > Active Project Properties > Compiler/Execution Options > clear Show warnings .
● Remarks : This feature can be enabled to get possible failure points. To disable this option, go to File > Active Project Properties > Compiler/Execution Options > clear Show remarks .
Note: Developers can use the UDFs in the range 1 to 9999, and 20001 to 59999 . The UDF range 10000 to 20000 is reserved for Tally, for internal usage. Tally.Developer 9 displays an error message in the build window while compiling or building the project, if the specified UDF index value is beyond the range.