Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

 

Remove Statement Summary

Remove is a terminal, refactoring statement that occurs only with a Refactorstatement. It prevents a component from being authored. For components other than subprograms, removing them involves simply not declaring them in the target code. For subprograms, they can either not be declared or they can be stubbed out --.i.e. declared but no procedural code authored. The problem with not declaring components is that their references in the procedural code must be dealt with as well. The bulk of the attributes associated with this statement deal with the issue of replacing references to the undeclared components.

 

The attributes of the Removestatement are as follows:

 

AttributeDescription
IdentifierThis required identifier attributes specifies the component to be removed. If the containing Refactor statement had a FileFilter specified then this identifier should be specified relative to it; else, it should be specified relative to the root of the symbol table.
MigPatternThis string attribute contains a pattern string that will be used as a substitute for a reference to the component. Any arguments that reference might require have to be accounted for in the pattern string. See the Patterns page for details.
MigStatusThis attribute is one of the entries -- Notimplemented, Delete, Stubout, or a code event string.
MigCommentThis attribute supplies a string that is substituted for references to the component.

The script errors associated with the Removestatement are as follows:

 

ErrorDescription
1098The identifier [%1d] could not be found.
Table of Contents

  • No labels