Best way to return multiple values from script?

Sure its possible, whats the best way to return multiple values from a script and use the values seperatly?

You would store them somewhere and the read them from stored location.

1 Like

Creating a return array was the reconmended method online which seems quite tidy as keeps within one methodology vs missing script and program settings.
Was mainly interested in how others might have achieved :slight_smile:

Use the values where?

In the script that called it.

Oh I thought you want to read multiple values inside rules or templates. There is no single best way but as you said using arrays will be OK.

2 Likes