I was recently explaining expr to someone and told him that the spaces between the arguments in the expression didn’t matter–meaning there can be white space like this:
$i1 + $i2 * $i3
or not like this:
It seems to work both ways, but I can’t see any definitive statement on spaces in expr.
Does anyone know if the spaces or lack thereof ever become an issue?
spaces mean nothing.
you can think of the whole expression as a symbol, which is parsed and interpreted inside.
i find this very handy, because you can use spaces only where you want them for better readabilty:
$i1 + ($i2*$i3)
Thank you! Exactly what I thought.
Log in to reply
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.