MathGroup Archive 1999

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

Search the Archive

function arguments as subscripts


Hello!

Mathematica lets me define functions that take their arguments as
subscripts. For example:

In[16]:=
   \!\(foo\_\(k_, l_\) = k l\)

In[17]:=
   \!\(foo\_\(3, 4\)\)

Out[17]=
   12

However, I can't seem to figure out how to define such a function in a
package. In particular, I am unable to define a ::usage for any function
taking an argument as a subscript.

Any suggestions on how to do this?

Thanks,

  Henrik Weimer




  • Prev by Date: RE: How can I control FindMinimum's behavior?
  • Next by Date: Can someone explain this?
  • Previous by thread: No Graphics Output in Excel 2000 Using MathLink for Excel
  • Next by thread: Re: function arguments as subscripts