$COPYRIGHT compiler directive

$COPYRIGHT compiler directive

Top  Previous  Next

 

The $COPYRIGHT directive inserts legal copyright data into the object code.

 

 

Format

 

$COPYRIGHT "text"

 

where

 

textis the text of the copyright message. This must be enclosed in quotes.

 

 

The $COPYRIGHT directive allows a developer to embed a legal copyright notice in the compiled object code. This notice can be printed using the FIND.PROGRAM command.

 
If more than one $COPYRIGHT directive appears in a program, the last one determines the text to be inserted.

 

$COPYRIGHT and $* may appear in the same program. In this case, the copyright effectively forms the last line of the comment data.

 

The copyright text can also be supplied via the $BASIC.OPTIONS record.

 

 

Example

 

$COPYRIGHT "Copyright Acme Software, 2011"

 

 

See also:

$*, FIND.PROGRAM