question

Fred F2 avatar image
0 Likes"
Fred F2 asked Jason Lightfoot answered

Is there a way to pass by reference when defining a user command?

I want to define a user command which would change the value of the parameters passed in. Then I could continue to use the changed data further on in my logic.

FlexSim 20.0.10
flexsim 20.0.10user commandvariablespass by reference
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jason Lightfoot avatar image
2 Likes"
Jason Lightfoot answered

Pass an array - then any changes to the array can be used after the command call has returned.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.