Knowledgebase: PowerScript Reference
Duplicate arguments for a function
Posted by Li Song on 26 April 2011 04:06 PM


Repetitively referring objects as arguments for a function is unsupported. Use the following workaround and example to change it into a supported format.


Assign the repetitively referenced object to multiple different variables and pass these variables to a function.


The original script:


Re-write it using the following format:

u_dw ldw_1, ldw_2
ldw_1 = dw_1
ldw_2 = dw_1

(1 votes)
This article was helpful
This article was not helpful

Comments (0)
Post a new comment 

Please login if you wish to leave a comment about this article.

Help Desk Software by Kayako Fusion

Copyright © 2019 Appeon.  All rights reserved.  Terms of Use | Privacy Statement