|
![](/i/fill.gif) |
Scott Hill <sco### [at] ncgraphics net> wrote in message
news:3a7ed19d$1@news.povray.org...
> Most experienced programmers/scripters do - it's the safest way to get
> any language to do what _you want_, rather than what _it thinks you want_
!
> E.g, what does 1+2*3-4 evaluate to ?
>
If the rules of precedence that I remember are correct then that equals 3,
but it's
not clear from a quick look. I tend to use brackets if there are more that 3
terms
in an expression, regardless of whether they are actually needed or not.
Gail
--
********************************************************************
* gsh### [at] monotix co za * System.dat not found. *
* http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k *
********************************************************************
* If at first you don't succeed, call it version 1.0 *
********************************************************************
Post a reply to this message
|
![](/i/fill.gif) |