Re: Question for the Math-oriented people: is an assignment a function?

If you need an assignment operator, I would suggest introducing a 
csymbol like

  <csymbol definitionURL="myapplication/assign">assign</csymbol>
or
  <csymbol definitionURL="myapplication/assign">:=</csymbol>

For that matter you could add the definitionURL to <equals/>.

You can use the same approach to provide other programming
language constructs using apply to construct things like:
assign(a,b),   foreach( x , x < 3 , x^2 ) ,  if ( cond , r1 , r1 )

Also, OpenMath may have a dictionary you can reference.

Stan Devitt
Stratumtek

Roger L. Costello wrote:

>Hi Folks,
>
>Consider this formula:
>
>   kilometers = miles * 1.62
>
>A programmer might interpret it like this
>  
>
...

>How would you express this in MathML?
>
>/Roger
>
>
>  
>

Received on Wednesday, 16 July 2003 21:02:07 UTC