WOLFRAM

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

PartBehavior

is an option to Query and related functions that specifies how nonexistent parts should be resolved.

Details
Details and Options Details and Options
Examples  
Basic Examples  
See Also
History
Cite this Page

PartBehavior

is an option to Query and related functions that specifies how nonexistent parts should be resolved.

Details

  • The following settings can be given:
  • None use ordinary behavior of Part
    Automatic invoke special rules for invalid i;;j, missing i, etc.

Examples

Basic Examples  (1)

The default option value PartBehavior ->Automatic invokes special behavior for operators that would otherwise fail:

Wolfram Language code: Query[1 ;; 5] @ {1, 2, 3}

Using PartBehavior ->None specifies that the ordinary behavior of Part should be used:

Wolfram Language code: Query[1 ;; 5, PartBehavior -> None] @ {1, 2, 3}
Wolfram Research (2014), PartBehavior, Wolfram Language function, https://reference.wolfram.com/language/ref/PartBehavior.html.

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2026_partbehavior, author="Wolfram Research", title="{PartBehavior}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/PartBehavior.html}", note=[Accessed: 18-August-2026]}

BibLaTeX

@online{reference.wolfram_2026_partbehavior, organization={Wolfram Research}, title={PartBehavior}, year={2014}, url={https://reference.wolfram.com/language/ref/PartBehavior.html}, note=[Accessed: 18-August-2026]}

Top [フレーム]

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