|
|
Am 10.06.2014 08:47, schrieb BH:
> This is a report on a possible error of nested #if~#end inside #macro~#end.
>
> The rendering using following code was found to be failed.
> An error message, "line 5: Parse Error: All #declares of float, vector, and
> color require semi-colon ';' at end if the language version is set to 3.5 or
> higher. Either add the semi-colon or set the language version to 3.1 or lower.",
> was obtained.
Not really an error, just a quirk of the language. The following should
work:
#macro bb ()
#if (1)
#local result = 0.0;
#end
result
#end
Post a reply to this message
|
|