|
![](/i/fill.gif) |
> Hi,
> working on the blender exporter, I came across some troubles when using
> characters such as hyphens or dots in declared names. Is this restriction
> usefull or could it be removed in later versions of POV-Ray ?
>
>
The hyphen will be interpreted as a minus sign.
If you have something like:
#declare A-B = 5;
#declare A = 1;
#declare B = 2;
Then you'll have a problem with this:
translate <A, B, A-B> been interpreted as translate<1,2,-1>
You have no way to diferensiate between A-B (the variable) and A-B (A
minus B)
The same way, you can't use any of those in a name:
|!&*/+-.^=%"'@#\(){}[]<>
Alain
Post a reply to this message
|
![](/i/fill.gif) |