logo To Foot
© J R Stockton, ≥ 2001-09-19

"TMT" Pascal.

No-Frame * Framed Index * Frame This
Links within this site :-

Introduction

This page is written largely from brief use of TMT Pascal Version 3 Free Demo, effectively in DOS. Parts might relate to Borland Pascal or to other Delphis. When installation of a new demo over-wrote existing Windows settings, I lost interest in the product.

My Pascal and Delphi pages comprise snippets, and are not a tutorial.

I myself have used only TP3, TP4, TP5, TP6, TP/BP7, TPW, BPW, D3, TMT3.

I know little of graphics, and nothing of multimedia or sound cards; and nothing of programming for Networks.

General PC links are in PC Links Reference.


Programmers : you must get an up-to-date copy of Prof. Timo Salmi's Turbo Pascal FAQ, from Garbo or from a mirror site such as SimtelNet, and study it intently. It is a Turbo Pascal FAQ, not a Borland Pascal FAQ, and not a Delphi or TMT FAQ; however, much of it applies equally to TMT Pascal, Delphi, BP and TPW/BPW. I will not cover here anything that it deals with, except where I feel that an alternative point of view may help.

Also read the Pascal mini-FAQ (ZIP), and other documents accessible via my Pascal Links pages.

Don't make a fool of yourself by asking questions for which the answers are well documented, in FAQs, newsgroups, and/or elsewhere.

Versions of TMT Pascal

See the TMT site; in particular, download for demonstration versions; I have tried v3.21, v3.30, v3.50.

My version.pas is an IMHO-useful Include file for programs and units which may be compiled with Borland Pascal, Borland Delphi, or TMT Pascal.

Differences in Language, TP/BP/D/TMT

The languages are rather similar, but as the implementations are very distinct, buggy programs may behave differently. This could be useful in development.

Procedure/Function parameter passing differs : check assembler sections.

In console program invocation parameter lists, '"' (#34) is a normal character in TP/BP, but acts as a bracket in Delphi & TMT.

In low-level code optimisation, that which is best in TMT is not necessarily that which was best in BP/TP.

Date and Time

There are first-principles BP7/Delphi/TMT routines, which make no reference (* barring a test call of GetDate(...) *) to Pascal, Delphi, Dos, or Windows date/time facilities, for handling Gregorian, Julian, and various Civil dates, within about 32000BC to 32000AD, including ISO week number, Gregorian and Dionysian Easter, Summer Time, ..., in my dateprox.pas, tested by mjd_date.pas. See in my programs directory. As at 2000-09-05, TMT demo v3.50, my mjd_date compiles and runs - incompletely tested, thus some of dateprox is untested in TMT; there are minor spacing errors in some output.

Compatibility

The following programs/units in my Web programs and games directories, among others, have been compiled (some need version.pas, and/or conditionals set) and run with TMT Pascal v3.21/v3.30 Demo, although they have not been greatly tested with TMT :-

OK may not mean Perfect.

In some cases functionality may differ (and suggestions for restoring it are welcome). Note that, after changes made and tested in Borland Pascal, the programs are not re-tested in TMT.

The following programs have shown failures in TMT v3.30 demo :-

All of the programs above work properly with Borland Pascal 7; some also with Delphi 3 command-line mode.

Simple Types

See Pascal / Delphi / + Types for sizes.

Debugging

Have all possible run-time checks on all the time, except possibly when your code is known, for sure, to be good and speed/size matters. Also fix all possible "Warnings".

Home Page
Mail: no HTML
© Dr J R Stockton, near London, UK.
All Rights Reserved.
These pages are tested mainly with Firefox 3.0 and W3's Tidy.
This site, http://www.merlyn.demon.co.uk/, is maintained by me.
Head.