HP 3000 Manuals

COPYRIGHT [ HP Pascal/iX Reference Manual ] MPE/iX 5.0 Documentation


HP Pascal/iX Reference Manual

COPYRIGHT 

COPYRIGHT is an HP Pascal Option.

The COPYRIGHT compiler option puts a copyright notice in the relocatable
object file and the program file.

Syntax 

     $COPYRIGHT string_literal$

Parameter 

string_literalThe name of the copyright owner, to appear in the copyright
              notice.  The compiler distinguishes between uppercase and
              lowercase letters.

Default       None.

Location      At front.

The copyright notice is:

     (C) Copyright date_string by string_literal.
     All rights reserved.  No part of this program may be
     photocopied, reproduced, or transmitted without prior
     written consent of string_literal.

The default date_string is the current year (see the COPYRIGHT_DATE
compiler option).

Example 

     $COPYRIGHT 'Blaise Pascal'$
     PROGRAM show_copyright;
     BEGIN
        :
     END.

The preceding program produces the following copyright notice:

     (C) Copyright 1986 by Blaise Pascal.  All rights reserved.
     No part of this program may be photocopied, reproduced, or
     transmitted without prior written consent of Blaise Pascal.



MPE/iX 5.0 Documentation