WOLFRAM LANGUAGE MESSAGE

General::pspec

DetailsDetails

  • This message is generated when the indicated part specification does not have the expected form.
  • Off[message] switches off the message; On[message] switches it on. For example: Off[General::pspec].

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

The second argument in Part is not an integer or a list of integers:

In[1]:=
Click for copyable input
Out[1]=

These examples show valid part specifications:

In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=