Skip to main content
Participant
November 3, 2008
Question

Unary operators and implicit struct creation

  • November 3, 2008
  • 1 reply
  • 341 views
The increment operator is not working correctly when I am attempting to assign an implicit structure to an array element. In the first section of the attached code, the variable "x" is never incremented when assigning an implicit structure to the array. However, in the second section of the attached code, the variable "x" increments correctly. The only difference between the two is that the first is trying to assign an implicitly created structure to an array element, and the second is assigning a scalar value to the array element. Is this a known defect and/or is there a way around this issue?

Thanks in advance.

Jon
    This topic has been closed for replies.

    1 reply

    Inspiring
    November 3, 2008
    I'm seeing the same thing.

    I've raised it as an issue with the Adobe bods.

    --
    Adam