A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://reference.wolfram.com/language/ref/Block.html below:

Block—Wolfram Language Documentation

WOLFRAM Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technology expertise.

WolframConsulting.com

BUILT-IN SYMBOL

Block[{x,y,},expr]

specifies that expr is to be evaluated with local values for the symbols x, y, .

Block[{x=x0,},expr]

defines initial local values for x, .

Details Background & Context Examplesopen allclose all Basic Examples  (1) Scope  (2)

Temporarily change settings of global system parameters:

Evaluate an expression with a variable temporarily set to a given value:

Applications  (2)

Perform a deeply recursive calculation:

The default setting of $RecursionLimit is too low for this calculation:

Use a local expression to visualize a complex map:

Properties & Relations  (2)

Block localizes values only; it does not create new symbols:

Module creates new symbols:

Iterators localize their variable in a similar way to Block:

History

Introduced in 1988 (1.0)

Wolfram Research (1988), Block, Wolfram Language function, https://reference.wolfram.com/language/ref/Block.html. Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2025_block, author="Wolfram Research", title="{Block}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/Block.html}", note=[Accessed: 11-July-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_block, organization={Wolfram Research}, title={Block}, year={1988}, url={https://reference.wolfram.com/language/ref/Block.html}, note=[Accessed: 11-July-2025 ]}


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4