|
|
On 11/26/2016 8:35 AM, clipka wrote:
> Am 26.11.2016 um 14:30 schrieb clipka:
>
>> The proper solution is to redefine the macro to include the intended
>> parentheses:
>>
>> #macro OTO_Get_Offset(Cell)
>> #local CX = Cell.x;
>> #local CY = Cell.y;
>> ( (1-Bev*2)*<1,1,0>*(.5-OTO_FOffs(CX,CY,0)) )
>> #end
>
> ... or use the "result variable" idiom:
>
> #macro OTO_Get_Offset(Cell)
> #local CX = Cell.x;
> #local CY = Cell.y;
> #local result = (1-Bev*2)*<1,1,0>*(.5-OTO_FOffs(CX,CY,0));
> result
> #end
>
yes that's what i ended up doing, but got distracted (woof) with
something else before i could reply. i'm trying to make sure i
understand the pathology here ... earlier in this thread a bug was
mentioned. the array/dictionary changes exposed the issue? devils
advocate would say that this should be documented as a {{Change}} ...
i'm guessing somewhere in the array talk page that's been currently
reworked?
Post a reply to this message
|
|