Tuesday, September 29, 2009
TDL Basics
Introduction to Tally Definition Language (TDL)
Tally Definition Language (TD) is a proprietary language of “Tally Solutions FZ LLC” and is specific to Tally only. You can use TDL for customizing Tally software as per your requirements.
We shall be posting sample programs regularly on this forum. Initially, we shall start with some basic features of TDL and later-on move to more advanced topics.
You can create your own TDL programs using any text-editor (like NOTEPAD). To compile these program, you need Tally Developer 2.7 which can purchased from Tally Solutions or any other Tally Authorised Dealer or Service centre.
When you compile your TDL program using Tally Developer, a TCP (Tally Compiled Program) file is generated. To use this TCP file, you need to do certain changes in the Tally.ini file. The Tally.ini file is located in the directory where Tally Software is installed.
Changes required in Tally.ini
USER TDL = YES
TDL = C:\TALLY\TDL1.TCP
Remarks:-
a) You are required to copy your TCP file to the Tally directory.
b) Use NOTEPAD to open and modify the Tally.ini file
Note:
1) Comments in TDL are written using double semi-colon ;;
2) The above TDL code contains several definitions viz. Menu,Report, Form, Part, Line, Field
3) Definitions are always written in square brackets [ ]
4) The # symbol modifes the default TDL menu “Gateway of Tally”
Permalink
