SOFTWARE tdesk wmx microterminal (FPGA) webmail SlideDraw SlideWidget LsBrowse Gscan KeenView driver Quadronegro pppliga Tiny Cobol SQLforms COURSE NOTES CONISLI 2004 C básico Linux sob medida Sys.Admin. Tcl/tk tclslides talk tclslides talk 2 FSL(P.Alegre) 2003 Forum linux I Real Time Linux Americano Batista Linux MISC GDI printers SOS Linux gimp tutorial tcl-guide hardware projects free photos short commands brazilian keyboard personal info html editing resume favorite places (links) ESSAYS Chapeuzinho Vermelho Linux Pernambuco Why Linux? Installfest Day after |
Programming with TinyCobolIf you need a graphical user interface (GUI), there is a very simple interface between TinyCobol and tcl/tk. You just update from my CVS server and look for the diretory test.code/00_FernandoWuthstrack/tcl. There you will find a couple examples. But you can also read the following article, distributed as
You can debug Cobol programs compiled by the TinyCobol compiler with a nice gdb front-end called DDD (Data Display Debugger). Read the article I have written for a short tutorial in portuguese (translators welcome!), distributed as a pdf file (660Kb), or the original OOo source (410Kb). This last requires OpenOffice.org 2.0 or 1.9.x beta. Here is the original README for the compiler, when it was first released.
Now our TinyCobol is usable and have its own homepage at https://tinycobol.org. As of October, 2001, our mailing list have about 180 subscribers and about a dozen people contributed to our code. A derivative of TinyCobol exists, the OpenCobol compiler, maintained by Keisuke Nishida, who is also a good contributor of our project. Programmer toolsIf you want to create a barebones interface between TinyCobol and tcl/tk, the simplest tool with enough flexibility to be useful is tctcl. Here is the latest release (tctcl-20040415.tar.gz). There is no documentation, but you may find a tutorial written by Fernando Wuthstrack, in (brazilian portuguese). I have been writing several add-on tools for our cobol compiler. One of them is TCGUI, a visual editor and GUI generator. It outputs a copybook that you will include in your cobol source and have a graphical screen, instead of the traditional screen section. TCGUI is a visual screen editor that allows you to introduce several tcl/tk widgets, without the need to know anything about tcl, only cobol. It generates a copybook with the definitions and a compressed tcl/tk program source that will show the GUI at execution time. The figure above show the editor tool with a entry box selected. The contents entered by the user will be available at a cobol variable that you choose (in this example, NAME). Several widget attributes may be modified during the design phase, just by clicking at a widget and filling the form at editor's main window. The attributes may also be modified by the cobol program during runtime. DownloadsTCGUI may be found here. It requires tcl/tk 8.X.Y (tested with 8.0.0 and 8.3.2), and run under virtually any version of TinyCobol. Other TinyCobol sites
|
|
Last updated: 2006/10/12 10:50:10