In Maple one can use [] to indicate either an array subscript, or a label subscript. can you do the latter in MAXIMA?



I am a beginner with MAXIMA. I am familiar with using subscripts to 
index into an array, i.e. A[i] where i=0,9. One could also do something 
like A[before] and A[after] where the intention is to just indicate two 
different elements one A_before and the other A_after to indicate say 
the state of A one one side of an operator and A on the other side.

I know how to do both in MAPLE, but I no longer have access to MAPLE so 
I would like to do the same in MAXIMA. It is primarily to allow using 
subscripts as label extenders as opposed to indexing into an array.

Thanks

On 11/3/2013 10:10 PM, Stavros Macrakis wrote:
> What is the difference between an array subscript and a label 
> subscript in Maple?
>
> Maxima allows you to use arbitrary expressions as subscripts, e.g., 
> t[start] and t[end]. Is that what you mean by a label subscript?
>
>             -s
>
>
> On Sun, Nov 3, 2013 at 1:14 AM, Jon Robinson <jonwrobinson at verizon.net 
> <mailto:jonwrobinson at verizon.net>> wrote:
>
>     In Maple one can use [] to indicate either an array subscript, or
>     a label subscript depending on how you type it in. Can you do the
>     latter in MAXIMA?
>
>          Thanks
>     _______________________________________________
>     Maxima mailing list
>     Maxima at math.utexas.edu <mailto:Maxima at math.utexas.edu>
>     http://www.math.utexas.edu/mailman/listinfo/maxima
>
>