|
|
AMD 1,4GHz, 512 MB DDR RAM, W98, POVray 3.5 beta4
Try the following line:
#local T = function (b) {div(b,2)}
it driggers that error:
"
#local T = function (b) {div(b,2)} <----ERROR
Parse Error: Expected 'function identifier', } found instead
"
When you change div(2,b) to mod(2,b) there's no error.
cukk
Post a reply to this message
|
|
|
|
In article <3bb417fa$1@news.povray.org> , "KalleK" <kal### [at] gmxde> wrote:
> Try the following line:
> #local T = function (b) {div(b,2)}
> it driggers that error:
>
> "
> #local T = function (b) {div(b,2)} <----ERROR
> Parse Error: Expected 'function identifier', } found instead
> "
>
> When you change div(2,b) to mod(2,b) there's no error.
The integer division function is not supported. It is a documentation
error.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|