Download Tally Developer from Tally solutions............ Along with the package you will get sample TDLs. Also you can go through many small and simple TDLs available on this site. Also you can download and read "TDL reference manual" which you can google and download from various site.