On 2020-02-13 15:43, Kevin Monceaux wrote:

Hello Kevin,

 .
 .
The example is from chapter 4 of the Turbo Vision Version 2.0 Programming
Guide:

http://www.BitSavers.org/pdf/borland/Turbo_Vision_Version_2.0_Programming_Guide_1992.pdf

I don't know if attachments can be sent to the list. I'll try to attach the
code I've keyed in from the book up to the point of that example.

Attachments may be sent to the list if they aren't too big (up to 50 kB in total should be no problem).

Your attached code cannot be compiled as provided because unit TutConst is missing. The version of this unit included in the PDF doesn't contain all the needed constants, so it is clearly buggy / incomplete. In any case - please, make sure to use {$MODE TP} (or -Mtp command line parameter) if compiling code originally targetting TP/BP. Apart from that, please, let us know which issues did you get (e.g. did you resolve the missing cm* constants)?

Tomas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to