Stub

Stub

is an attribute which specifies that if a symbol is ever used, Needs should automatically be called on the context of the symbol.

Details

  • Symbols with the Stub attribute are created by DeclarePackage.
  • A symbol is considered "used" if its name appears explicitly, not in the form of a string.
  • Names["nameform"] and Attributes["nameform"] do not constitute "uses" of a symbol.

Examples

open allclose all

Basic Examples  (1)

Use of the symbol implies reading the corresponding package automatically:

Properties & Relations  (1)

Stub symbols are created in the declared context:

Introduced in 1991
 (2.0)