Student Support Forum > General > > "Eliminating extra outer curly brackets"

 Post Reply: Name: Email Address: Please send email when my message is replied to. Url (optional): Subject: Message: view original message? Attachment (optional): Please answer this: 8+1 =

 Original Message (ID '143890') By Bill Simpson: I'm not certain what you want to do with this. Mathematica usually doesn't let "bare" comma separated items stand by themselves. If you are going to use your list of comma separated items within some function call then perhaps this will help you. In[1]:= (listofindices={}; For[s=1,s≤3,s++, listofindices=Append[listofindices,{Subscript[n,s],0,3-1}]]; For[s=3+1,s≤7,s++,listofindices=Append[listofindices,{Subscript[n,s],0,5-3}]]); listofindices Out[2]= {{Subscript[n, 1], 0, 2}, {Subscript[n, 2], 0, 2}, {Subscript[n, 3], 0, 2}, {Subscript[n, 4], 0, 2}, {Subscript[n, 5], 0, 2}, {Subscript[n, 6], 0, 2}, {Subscript[n, 7], 0, 2}} In[3]:= f[Sequence@@%] Out[3]= f[{Subscript[n, 1], 0, 2}, {Subscript[n, 2], 0, 2}, {Subscript[n, 3], 0, 2}, {Subscript[n, 4], 0, 2}, {Subscript[n, 5], 0, 2}, {Subscript[n, 6], 0, 2}, {Subscript[n, 7], 0, 2}] But you should be able to accomplish the same thing with f@@%