开发者

Returning parameters from FinalBuilder 7 Action Lists

If I'm not mistaken, it seems that FinalBuilder 7's action list parameters only support input values. Is there any way I can simulate a workaround for return parameters? I do not want to store return parameters in a global temp variable or even a stack, because I'm calling the same action list multiple times asynchronously.

Here is sample of what I want to do. (Notice the shared use of the same action list)

Async Action Group
+-Action Group
| +-Run Action List - [Do Some Calculation]
| +-Replace variable A with return parameter from previous action list
+-Action Group
  +-Run Action List - [Do Some Calculation]
  +-Replace variable B with return parameter from previous action list

I'm currently using an INI file in the action list to save return values. The calling method passes a parameter to the action list specifying to which INI key to save to. The calling method then reads the value from the INI from the 开发者_如何学Pythonkey.

Surely there has to be a more elegant way to do this?


I have never seen any way to return variables from action lists.

That would be an excellent suggestion to post in the FinalBuilder Wish List forum. Many of requests in the past there are now features of the product.

I think it would require giving scope to variables to something like an Action Group to pull it off. But it would help some of my scripts as well. Update: I found that FB 7 supports Local Variables. But it still does not address the needs of this answer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜