|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
POV 3.5 RC4 icl on WinNT Sp 6 PII 233 with 128 MB
following code causes crash
// START
#local F=function{min(
#local N=2;
#local C=0;
#while (C<N)
#local G=function{x+y+z};
G(x,y,z)
#undef G
#local C=C+1;
#if(C<N)
,
#end
#end
)};
// END
but when I add #include "functions.inc" at begining then crash disappear but
it won't parse becouse "Unknow user defined function" error. It only helps
when I move #undef G and put it before #local G
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
news:9m89euo7sj6mvsns96cg47daa9e11m630o@4ax.com...
> POV 3.5 RC4 icl on WinNT Sp 6 PII 233 with 128 MB
>
> following code causes crash
You are declaring a function inside a function. That won't work. It will
be disallowed in the next beta.
Thorsten
Post a reply to this message
|
|
| |
| |
|
|
From: Christoph Hormann
Subject: Re: crash during function creation
Date: 17 May 2002 05:04:59
Message: <3CE4C7BF.98B68575@gmx.de>
|
|
|
| |
| |
|
|
Thorsten Froehlich wrote:
>
> > following code causes crash
>
> You are declaring a function inside a function. That won't work. It will
> be disallowed in the next beta.
You can achieve such constructions with the method mentioned in
news://news.povray.org/3CDEBA5B.A6AA7104%40gmx.de
although this is subject to the recursion limit of functions.
Christoph
--
POV-Ray tutorials, IsoWood include,
TransSkin and more: http://www.tu-bs.de/~y0013390/
Last updated 05 May. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Fri, 17 May 2002 10:00:32 +0200, "Thorsten Froehlich" <tho### [at] trfde>
wrote:
> > POV 3.5 RC4 icl on WinNT Sp 6 PII 233 with 128 MB
> >
> > following code causes crash
>
> You are declaring a function inside a function. That won't work. It will
> be disallowed in the next beta.
This allowed in 3.6 if anybody is interested.
ABX
Post a reply to this message
|
|
| |
| |
|
|
From: Thorsten Froehlich
Subject: Re: crash during function creation
Date: 27 Feb 2004 12:59:42
Message: <403f858e@news.povray.org>
|
|
|
| |
| |
|
|
In article <prqu30tgu7lbkot3j3hnb9doo2qh9gqsvl@4ax.com> , ABX
<abx### [at] abxartpl> wrote:
>> You are declaring a function inside a function. That won't work. It will
>> be disallowed in the next beta.
>
> This allowed in 3.6 if anybody is interested.
Indeed. Since the parser/compiler code was put into a class and the former
global variables no longer can get screwed up.
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
|
|
| |
| |
|
|
|
|
| |