"Steely" <nomail@nomail> wrote in message
news:web.425591b4f49c80836fd49c30@news.povray.org...
> Hi there!
>
> Just out of curiousity: while you are free to define nearly everything
this:
>
> #local my_shape =
> sphere { ... }
> // inside the my_shape.inc
>
> and
>
> #include "my_shape.inc"
> object {my_shape}
> // inside the main .pov-file
>
> work?
>
> Thanks
>
> Steely
>
#local is for things that are only available in the file (or in the case of
a macro, available only in the macro) which they are defined in, to my
understanding. if you want it to be available from an included file, it has
to be #declared
3.1.2.2.2 #declare vs. #local
-ross
Post a reply to this message
|