WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

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
Details and Options Details and Options
Examples  
Basic Examples  
Properties & Relations  
See Also
Tech Notes
Related Guides
History
Cite this Page

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 all close 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:

See Also

Needs   $NewSymbol

History

Introduced in 1991 (2.0)

Wolfram Research (1991), Stub, Wolfram Language function, https://reference.wolfram.com/language/ref/Stub.html.

Text

Wolfram Research (1991), Stub, Wolfram Language function, https://reference.wolfram.com/language/ref/Stub.html.

CMS

Wolfram Language. 1991. "Stub." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Stub.html.

APA

Wolfram Language. (1991). Stub. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Stub.html

BibTeX

@misc{reference.wolfram_2025_stub, author="Wolfram Research", title="{Stub}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/Stub.html}", note=[Accessed: 04-January-2026]}

BibLaTeX

@online{reference.wolfram_2025_stub, organization={Wolfram Research}, title={Stub}, year={1991}, url={https://reference.wolfram.com/language/ref/Stub.html}, note=[Accessed: 04-January-2026]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /