[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Implicit variables: Meta-HTML vs. Mp4h



The changes from 1.7.x to 1.99.x are not that severe  for
users, most of the changes are just minor, but there is one
which I personally think is a pain. Is there really no way
to solve this in a compatible way?

In http://www.engelschall.com/sw/wml/distrib/wml-SNAP/README.mp4h
we find:

There are two cases where ``<get-var i>'' could be replaced
by ``i'' with Meta-HTML: inside arithmetic expression (e.g. <add
i j 10>) and array indices (e.g. <get-var foo[i]>). Mp4h does
not recognize these shortcuts, and <get-var> must be used
in these cases.

So a <get-var foo[i]> is going to be: <get-var foo[<get-var i>]>

Cheers
 -jan



______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com