Microsoft KB Archive/78002

= Microsoft Knowledge Base =

NMAKE Correction, Basic PDS Manual, TRIG.LIB ::
Last reviewed: January 12, 1995

Article ID: Q78002

SUMMARY
The example NMAKE description file on page 645 of the &quot;Microsoft Basic: Programmer's Guide&quot; for versions 7.0 and 7.1 is incorrect:

TRIG.LIB : SIN.OBJ COS.OBJ ARCTAN.OBJ

!LIB TRIG.LIB -+$?; The colon in the first line should be replaced by a double colon. With this change, the example will work correctly:

TRIG.LIB :: SIN.OBJ COS.OBJ ARCTAN.OBJ

!LIB TRIG.LIB -+$?; This information applies to the Microsoft Basic Professional Development System (PDS) versions 7.0 and 7.1 for MS-DOS and MS OS/2.

MORE INFORMATION
The goal of the above example is to replace in the library TRIG.LIB only those object modules that have changed since the library was last modified. However, as it is written in the manual, all object files would be replaced, regardless of when they were last modified.