Standard Fortran does not offer facilities to
output colored text or numbers. Also, to position the cursor is laborious.
The console cannot easily be cleared. It is not possible to position the
console window relative to the desktop screen. It does not provide for
a change of the number of character rows and columns to be buffered by
a console. And so on. qtConsole gives Fortran programmers a hand to brush
up their Windows console applications with colors, positioning and more.
Most Fortran programs use READ(*,...), PRINT and WRITE(*,...) statements for console output (under Windows the console is also referred to as the DOS box, or DOS command window). The Fortran standard stipulates the use of one single color (usually white text on black background). But, with the qtConsole function qtConSetTextColor a foreground and background color can be set (256 color combinations are at your disposal). With this, your PRINT and WRITE(*,...) commands will output colored texts and numbers.
Additionally, the function qtConWrite allows to position texts (by row and column specification). With this, you may highlight texts and numbers. So you can catch the users attention, for example, if a value runs out of range.
Also, the size of the console and the size of the console window can be controlled. To clear the console, simply call qtConClearConsole. If you think the console's cursor is to small - default size is mostly 25% of the font size - change its size calling qtConSetConsoleCursorSize, for example to maximize it to 100%. Or if you want to make it invisible, give it a size of 0. Within the coordinates range of a console the cursor can be positioned calling qtConSetCursorPosition. Then, the output of a PRINT and WRITE(*,...) command starts at the cursor position set. Or a READ(*,...) command expects user input starting at that cursor position. Here is complete overview of the qtConsole functions:
Scope of Supply qtConsole consists of a static library (.lib) and several
pre-compiled MODULE files (.mod). The functions and their usage is described
a manual
(PDF), including examples and several illustrations.
At present the following variants exist:
It may be that compatible compilers can use qtConsole too.
Try yourself using the evaluation version (see below). If you own a compiler
that is not supported by qtConsole, but you would like to have a binding
for this, let us know (mailto:info@qtsoftware.de).
If there is sufficient demand, we will try to develop a version for your
compiler.
You can download an evaluation copy here which has a few
functional limitations (1) and the manual (PDF
(2); download size: about 1.7 MB):
If you encounter difficulties, or something is not working properly, give us a call: +49(0)30/92900870 or send an email. (1) The evaluation copy allows
the usage of all functions until the end of the year. When starting a
program that calls qtConsole functions a message box pops up at the beginning
which displays a message accordingly. On purchase of a qtConsole Licence
you will receive a licence file, which activates the "full version",
which can be used without limitation (no message box, no time limit).
The evaluation copy is converted into
a fully functioning version by purchase of a qtConsole licence (no re-installation
necessary).
All prices are given
in € (EURO) without VAT. The licence is supplied (QTCON.0010) by sending a licence file via email. The licence file contains the data the licensee specifies (name and address), the licence number, and the licence key.
Order via our webshop,
by email (to info@qtsoftware.de)
or by fax or letter. System Requirements To use the qtConsole software the following is needed
Technical Support If you have questions, you detect a problem, you want to express an extension, etc., let us know: support@qtsoftware.de.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Scope of Delivery, System Requirements |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Hints for Liability & Authors Rights regarding Information on this Web Page. Copyright QT software GmbH 2021. All rights reserved. The rights of the owners of trade names and marks which here is referred to are accepted without restrictions: Windows is a trade mark of Microsoft Corporation, U.S.A.. “ProFortran for Windows” is a product of Absoft Corporation, U.S.A.. “Compaq Visual Fortran” is a product of Hewlett-Packard Company, U.S.A.. "Intel Visual Fortran" is a product of Intel Corporation. “Lahey/Fujitsu Fortran 95 for Windows” is a product of Lahey Computer Systems, Inc., U.S.A.. “Silverfrost FTN95” is a product of Silverfrost Ltd., U.K.. |