Examples of ZLINK

Example:

          GTM>ZLINK "test"
        

If ZLINK finds test.m or test.o, it adds the routine test to the current image. If ZLINK does not find test.o, or finds that test.o is older than test.m, GT.M compiles test.m to produce a new test.o, and adds the contents of the new object file to the image.

Example:

       GTM> 
       
       zlink "test.m":"-noobject -list"
        

This compiles the routine "test" and produces a listing but no object file. Because the example produces no object file, it does not change the current image.