POV-Ray : Newsgroups : povray.beta-test : Error message Server Time
29 Jul 2024 10:19:33 EDT (-0400)
  Error message (Message 1 to 5 of 5)  
From: Felix Wiemann
Subject: Error message
Date: 4 May 2002 05:58:49
Message: <3cd3b0d9@news.povray.org>
POV-Ray for Linux RC 3

Hi,
this scene:

#declare MyFunction = function
        {
        f_noise3d(x, y, z)
        }

generates the following messages:

> Parsing...File: error.pov  Line: 3
> Error: Suspicious identifier found in function!
> If you want to call a function make sure the function you call has
> been declared.
> If you call an internal function, make sure you have included
> 'function.inc'.
   ^^^^^^^^^^^^
> 
> File: error.pov  Line: 3
> 
> 
> #declare MyFunction = function
> 
> 
> 
> 
> 
>         {
> 
> 
>         f_noise3d( <----ERROR
> 
> 
> Parse Error: Expected 'operator', ( found instead

It must be 'functions.inc' instead of 'function.inc'.
-- 
Felix Wiemann


Post a reply to this message

From: Felix Wiemann
Subject: Re: Error message
Date: 4 May 2002 06:01:45
Message: <3cd3b189@news.povray.org>
Felix Wiemann wrote:
> #declare MyFunction = function
> 
> 
> 
> 
> 
>         {
> 
> 
>         f_noise3d( <----ERROR

btw, why is there so much space between the lines?
-- 
Felix Wiemann


Post a reply to this message

From: Steve
Subject: Re: Error message
Date: 4 May 2002 07:39:31
Message: <slrnad7i2d.3gp.steve@zeropps.org.uk>
On Sat, 04 May 2002 12:06:36 +0200, Felix Wiemann wrote:
 
> btw, why is there so much space between the lines?

It always does that, take the following scene:

camera{location <0,3,-5> look_at 0}

sphere{1,Some_Rubbish}

Now render:
  (all other stuff here as normal)
  Statistics Stream to console....On
  Warning Stream to console.......On


Parsing...File: error.pov  Line: 4






camera{location <0,3,-5> look_at 0}





sphere{1,Some_Rubbish <----ERROR


Parse Error: Expected 'numeric expression', undeclared identifier
'Some_Rubbish' found instead

[sjlen:sjlen]$

I think it even did this in 3.1g, I don't know I havn't installed it on
this machine yet. 

--
%HAV-A-NICEDAY                    email mailto:ste### [at] zeroppsuklinuxnet
Steve                                web http://www.zeropps.uklinux.net/
                                             or http://start.at/zero-pps
 12:30pm  up 15 days,  9:11,  1 user,  load average: 1.06, 1.45, 1.34


Post a reply to this message

From: Felix Wiemann
Subject: Re: Error message
Date: 4 May 2002 10:49:25
Message: <3cd3f4f5@news.povray.org>
Steve wrote:
> It always does that, take the following scene:

Is this a feature? Or should it be fixed?

> --
> [signature]

Please use "-- " instead of "--".

-- 
Felix Wiemann


Post a reply to this message

From: Steve
Subject: Re: Error message
Date: 4 May 2002 13:18:16
Message: <slrnad7ug7.4nk.steve@zeropps.org.uk>
On Sat, 04 May 2002 16:52:59 +0200, Felix Wiemann wrote:

> 
> Please use "-- " instead of "--".
> 

I thought I'd fixed that, well I must have missed that particular sig. 


-- 
sphere{z*5,1pigment{rgb.5}finish{reflection.3specular.5}}box{<-50,-3,-50>
<50,-2,50>pigment{checker/*\__\\__/  * \_\\__*/scale 2}finish{ambient.7}}
light_source/*__\\__\\__\\__\\__\(    ~ )\__\\__\\__\\__\\*/{<2,5,1>*4,1} 
/*\\__\\__\\__\\__\\__\\__\\__\\__\~  -/__\\__\\__\\__\\__\\*//* Steve */


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.