swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
 

#2077   Compile-time error  

 

Invalid shelf declaration encountered.

Additional Information

The predefined X "Y" may not be redeclared.
    where X is the type of the shelf, Y its name.
    or
The shelf X "Y" has already been declared as type Z in the same scope.
    or
Local X "Y" is already declared in the current scope.
    or
Global X "Y" is already declared.

Recovery

Compilation continues but no compiled source code file will be saved.

Explanation

The predefined shelves (the ones starting with a '#') may never be declared.

Unless the program is using heralded names, two variables of different types may not be declared in the same scope (either both global, or both at the same level as a local). With version 5.4, a global variable may not be declared more than once.

 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:26:58 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.