COPYRIGHT Directive [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation
HP FORTRAN 77/iX Reference
COPYRIGHT Directive
The COPYRIGHT directive places a nonexecutable literal string in the
binary object file. The string may be read by tools that display the
object code generated.
Syntax
$COPYRIGHT {'copyright_name'} [DATE {'copyright_date'}]
{"copyright_name"} [ {"copyright_date"}]
copyright_name is a string that specifies a name that becomes part of
the notice. Characters beyond 72 are truncated.
copyright_date is a string that specifies the date or dates that become
part of the notice. Characters beyond 72 are truncated.
If copyright_date is omitted, the current year is used.
If the DATE suboption is omitted, the current year is
used. Although the date can be omitted, we encourage
you to specify a year.
Default None; no notice is included in the binary object
file.
Location The COPYRIGHT directive must appear before any
nondirective statements in the program. It must
precede an executable program unit (one beginning
with a PROGRAM, FUNCTION, or SUBROUTINE statement).
The copyright message is placed in the object and
executable files. If an executable program unit
does not follow the COPYRIGHT directive, the
directive is ignored.
The notice also appears in the executable file.
Toggling/ Duration Applies to entire program. May not be toggled.
Additional Information
The text of the notice is:
(C) Copyright copyright_date by copyright_name. All rights
reserved. No part of this program may be photocopied, reproduced,
or transmitted without the prior consent of copyright_name.
MPE/iX 5.0 Documentation