Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5077 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Is there a way in ScriptMaster to pass an unknown number of parameters or a variable number of parameters to a function?

I was thinking of something along the lines of a file list, or a list of people, where there could be 1 file, or 20. I understand that in the function I would have to parse these, but I would rather have them come in as separate parameters than as a comma separated, return separated, or some other list as a single parameter.

Thanks,

~Mark

  • 3 weeks later...
Posted

you could use the methods discussed in this thread: http://fmforums.com/forum/topic/73061-universal-variable/page__p__345537__fromsearch__1#entry345537

Basically, rather than using a parameter, you would use a different function to set a variable in the Plug-in itself. If you setup the variable setting function properly, then you could have it append to the variable (via a list, map, or array).

This topic is 5077 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.