= FORTRAN/TK = == General information == Welcome to the provisional homepage of the Open Source project FORTRAN/TK.[[BR]] FORTRAN/TK is, an easy to learn, powerful cross-platform (OS/2 Warp and Windows 9x/NT) widget toolkit for the [http://www.openwatcom.org/ Open Watcom] FORTRAN/77 compiler. Technically it's a kind of wrapper to [http://rexxtk.sourceforge.net/ Rexx/Tk] by Roger O'Connor and Mark Hessling but it does not rely on a Rexx interpreter. Therefore it's the first FORTRAN implementation of the Tk-toolkit from [http://www.tcl.tk/ Tcl/Tk] so far. All Rexx/Tk functions are already usable from within FORTRAN/TK including some which are not even listed in the [http://rexxtk.sourceforge.net/functions.html Rexx/Tk help]. It also includes about 20 new functions, called FORTRAN/TK extensions, which are neither part of Tcl/Tk nor Rexx/Tk nor Open Watcom FORTRAN. They include functions for file management, file searching, basic support for dynamic DLL handling and the clipboard which are commonly needed to write sophisticated GUI applications.[[BR]] FORTRAN/TK is one of the easiest and most comfortable ways to create graphical user interfaces using the [wiki:fortran FORTRAN programming language]. It even implements features that are not really supported by the Open Watcom FORTRAN compiler at all like variable length argument lists, using some very dirty assembly hacks. Don't ask...[[BR]] For more information, including dependencies, examples and build instructions, please refer to the [source:/trunk/readme.txt readme.txt]. The [ftp://pub.netlabs.org/pub/fortrantk/fortrantk.pdf presentation about FORTRAN/TK] I held at the [http://wiki.netlabs.org/index.php/Developers_Workshop_2005 Developers Workshop 2005] in Dresden is also a good introduction, although it already contains outdated information. FORTRAN/TK is licensed under the [http://www.opensource.org/licenses/osl-2.1.php Open Software License v.2.1]. == History == The history of all official FORTRAN/TK releases may be found in the [source:/trunk/history.txt history.txt]. == Screenshots == == Releases == The various FORTRAN/TK releases are no real binary releases but more like source distributions. It must be compiled to a fortrantk.lib according to the build instructions. So each release is for OS/2 Warp and Windows 9x/NT. It is necessary to be able to compile FORTRAN/TK itself to compile a FORTRAN/TK program anyway. However the example programs are precompiled for both platforms and necessary runtime libraries are included so you can have a look at it first. * [ftp://pub.netlabs.org/pub/fortrantk/ftk0.6beta.zip FORTRAN/TK Version 0.6 Beta] * [ftp://pub.netlabs.org/pub/fortrantk/ftk0.5beta.zip FORTRAN/TK Version 0.5 Beta][[BR]] FIX: One DLL-library is missing from the runtime-libraries of the OS/2 version to let it run properly. So you have to put it in the "examples\binos2\runtime" directory.[[BR]] Download it from [ftp://pub.netlabs.org/pub/fortrantk/misc/rexxtran.dll here]. * [ftp://pub.netlabs.org/pub/fortrantk/ftk0.1alpha.zip FORTRAN/TK Version 0.1 Alpha] == Applications using FORTRAN/TK == == References == Currently there is no complete FORTRAN/TK documentation and guide but there are a number of files and homepages you should check out if you do want to write your own FORTRAN/TK programs. * There's a short tutorial about how to write [wiki:helloworld "Hello world" in FORTRAN/TK]. * As already mentioned, the [source:/trunk/readme.txt readme.txt] contains useful information. * There are [source:/trunk/examples FORTRAN/TK examples] like a text editor, a calculator and a simple test program. * The [http://svn.netlabs.org/canabis Canasta card-game Canabis] is based on FORTRAN/TK, too. * The [source:/trunk FORTRAN/TK sourcecode].[[BR]] You can find information about already implemented [source:/trunk/fortrantk.fap extended FORTRAN/TK functions] and about [source:/trunk/useful.fap FORTRAN/TK extensions]. * FORTRAN/TK is based on [http://rexxtk.sourceforge.net/ Rexx/Tk], so the [http://rexxtk.sourceforge.net/functions.html Rexx/Tk API] is very similar to the FORTRAN/TK one. * For detailed information about the Tk-toolkit and its API, you should refer to the [http://www.tcl.tk/man/tcl8.0/ Tcl/Tk 8.0.5 manual]. == Contact == If you have questions or opinions or if you want to contribute, feel free to [mailto:robin.haberkorn@gmail.com send me an email]. [[Image(os2win.jpg, nolink, align=right)]]