Previous page Next page

New #macro Feature

Add fully recursive and parameterized #macro directive. Define like this...

  #macro MyMacro (P1,P2,P3)   ...  #end

Invoke like this...

  MyMacro (5,x*5,MyTexture)

Note no '#' sign preceeds invocation. Macros can be invoked almost anywhere. Parameters must be identifiers or any item that can be declared, MyMacro(pigment{Green},MyObject) for example.

Added #local IDENTIFIER= STATEMENT as alternative to #declare to create temporary local identifier in macros or include files.

Previous page Next page