POV-Ray : Newsgroups : povray.unofficial.patches : Major bug in MegaPOV Plus? : Re: Major bug in MegaPOV Plus? Server Time
2 Sep 2024 06:12:33 EDT (-0400)
  Re: Major bug in MegaPOV Plus?  
From: Jérôme Berger
Date: 12 Sep 2000 06:22:23
Message: <39BE03DD.2E760F41@enst.fr>
Warp wrote:
> 

> : (except that I'm surprised that this works inside another
> : function
> 
>   The C standard says that a function definition can be done inside another
> function. If done so, the scope of that function definition is only inside
> that other function (it has a clear modular reason).
>   Thus, the C++ standard supports it as well.
> 
	One of the big differences between C and Pascal is precisely that the
Pascal standard allows definitions of function inside another while the
C standard doesn't (or so I always thought). Something to do with the
ability to return a function as the result of a function call. I don't
know the exact position of C++ in this respect but I assumed it followed
the C standard.


-- 

* Doctor Jekyll had something * mailto:ber### [at] inamecom
* to Hyde...                  * http://www.enst.fr/~jberger
*******************************


Post a reply to this message

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