This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

WithBeginPackage

Further Examples for Block

Here is an expression involving s.

In[1]:=

This evaluates the previous expression, using a local value for s.

In[2]:=

Out[2]=

There is no global value for s.

In[3]:=

Out[3]=

Attempting to evaluate this sum directly does not work.

In[4]:=

Out[4]=

This works.

In[5]:=

In[6]:=

Out[6]=

In[7]:=

WithBeginPackage