MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

visual subscripts with assignment



Can someone tell me why assignment doesn't seem to work with visual
subscripting?  Here's what I got:

In[1]:=
\!\(x_\_i_ := x[\([i]\)]\)
In[2]:=
x={1,2,3,4}
Out[2]=
{1,2,3,4}
In[3]:=
\!\(x\_2\)
Out[3]=
2
In[4]:=
\!\(x\_2 = 5\)
Out[4]=
5
In[5]:=
x
Out[5]=
{1,2,3,4}

Issac





  • Prev by Date: Sorting of Data Lists
  • Next by Date: remote FrontEnd fonts problem leads to core dump
  • Prev by thread: Re: Sorting of Data Lists
  • Next by thread: Re: visual subscripts with assignment