Question: Variables With Subscripts!!



I have a very important question that I can't seem to find anywhere in the literature.  I am trying to create a procedure to do something that would be seeminly impossible by hand.  In doing so, I need to create exactly 729 variables, which I would like to simply call x_i for i=1...729.  Yet the problem is that I don't know how to define the variable x_i during the procedure.  For example, I would like to do something of the sort:


L:=[]: for i from 1 to 729 do L:=[op(L),x_i]: od:


but that doesn't work in Maple 15 Classic (which is where I do all of my programming).  Any suggestions?


Thank you for your time!!



Please Wait...