qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Method Call Checking Directive
  Compiler Directives Contents Index                         Back
 
  {$M<+│->}
 
  Description
 
    Switches between two settings that monitor the memory allocation
    for objects. The default is {$M+}.
 
    {$M+}  Turns on memory allocation monitoring for objects. In this
           state, a run-time error occurs if an attempt is made to use
           an object before allocating memory for it.
 
    {$M-}  Turns off {$M+}.
 
    When an object is declared in a VAR section, it only exists as a
    pointer to an object. Use the New function to allocate memory for
    the object.