20 pts.
 synon parameters
how to pass more than 1000 parameters to synon function?

Software/Hardware used:
ASKED: August 10, 2010  8:18 AM
UPDATED: September 16, 2010  5:28 PM

Answer Wiki:
Use array
Last Wiki Answer Submitted:  September 16, 2010  5:28 pm  by  Nitinhcl2009   25 pts.
All Answer Wiki Contributors:  Nitinhcl2009   25 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

how to add more than 1000 parameters to a synon function

 20 pts.

 

I’m not aware of any way to pass more than 300 “parameters” to any function. Obviously, a data structure or an array can have many more elements, but the data structure (or array) would normally be a single “parameter” by itself.

If Synon provides generated code to pass up to 1000 values between functions, then it is almost certainly built into the product code. You would then need to ask Synon support how to pass more values than that.

I would expect that the final answer will involve creating and passing either a data structure or an array — possibly even an array of data structures or vice versa.

Regardless, it’s probably not a good idea. The model probably needs to be changed so that fewer values are passed.

Tom

 108,310 pts.