Midnight Beach logo

Turbo Pascal Publications

FAQ File
Magazine Articles
  1. 'Huge Model' Turbo Pascal
    Magazine article: PC Techniques, Feb/Mar 1993
    How to allocate and use more than 64K per data structure (in Borland Pascal and/or 16-bit Delphi).
  2. Three Warnings About Constructors
    Magazine article: PC Techniques, Dec/Jan 1993
    • Calling a constructor is slower than calling a normal function.
    • Don't give an object a constructor unless it has virtual methods.
    • Declare a constructor before any variable length fields.
  3. Three Myths About Turbo Pascal
    Magazine article: PC Techniques, Dec/Jan 1993
    • Procedural variables can point to Nil.
    • You can use procedural variables to call object methods.
    • You can write object-oriented DLL's in BP.
  4. Lightning Longints
    Magazine article: PC Techniques, Aug/Sep 1992
    Patch the RTL to use 32-bit registers and operations for LongInt multiplication and division.
  5. (Almost) Any Constructor Will Do
    Magazine article: PC Techniques, Aug/Sep 1992
    There's no need for a constructor that just calls its parent's constructor.
  6. The Hidden Price of VAR Parameters
    Magazine article: PC Techniques, Feb/Mar 1992
    A var parameter looks like a local variable but acts like a pointer.
  7. Using TPW's Dynamic Method Tables Directly
    Magazine article: PC Techniques, Feb/Mar 1992
    A BASM routine to find a dynamic method's address, and some uses.
  8. Efficient String Concatenation
    Magazine article: PC Techniques, Dec/Jan 1992
    Use and maintain a pointer to the end of the string.
  9. Restoring the Compiler State in Turbo Pascal
    Magazine article: PC Techniques, Oct/Nov 1991
    Use of $ifopt to sense and save the settings of range checking &c around critical code that you want to compile $R-,S-,Q- even during development.
  10. Using 32-Bit Instructions in BASM
    Magazine article: PC Techniques, Aug/Sep 1991
    Use of db to insert the 32-bit instruction prefix that lets you use 32-bit instructions in 16-bit code. (Reprinted in PC Techniques C/C++ Power Tools.)
  11. Using Pointers to "Near" Routines in Turbo Pascal
    Magazine article: PC Techniques, Aug/Sep 1991
    Use [16-bit pointers] near routines when speed really counts.
  12. Faster Floating Point on the 80387
    Magazine article: PC Techniques, Apr/May 1991
    Use .386 in your TASM code to suppress FWAIT insertion in your 16-bit float point code. (Reprinted in PC Techniques C/C++ Power Tools.)
  13. Variable Length Objects in Turbo Pascal
    Magazine article: PC Techniques, Apr/May 1991
    Use of "head" and "tail" objects.
  14. Read-Only Variables
    Magazine article: PC Techniques, Dec/Jan 1991
    Use of inline macros as true read-only variables.
  15. Expert's Opinion: Turbo Pascal 6.0
    Magazine article: PC Techniques, Dec/Jan 1991
    BASM is wonderful; macros would be nice; C++ may be a better language, but TP6 is a better environment.
  16. Catch and Throw with Turbo Pascal
    Magazine article: Turbo Technix, Jul/Aug 1988
    Uses for and workings of Catch and Throw routines for exception handling.
Created on March 23, 2006, last updated March 24, 2006 • Contact jon@midnightbeach.com