@tersinemuhendis спасибо, это действительно решило проблему.
is there way to have more then one output of function?
-
Some of bas actions have few outputs for example action "File/Folder Info" has one input value and 5 output values.

I would like to make function that would also do the same (take in one parameter and output few), but in the creation of function i don't see option to create more then 1 output value.
And since my end goal is to make custom module action from this function i don't see way that it would help me do it.
is there way around it or maybe i'm not aware of something ?
every help is appreciated -
@111cbt111 use array as output
-
@Vituskosoy said in is there way to have more then one output of function?:
@111cbt111 use array as output
IN BAS?
HOW? -
make a list in function, fill it and put as result in "Return"
-
@Vituskosoy said in is there way to have more then one output of function?:
make a list in function, fill it and put as result in "Return"
Thank you, this i understand, but when i will create custom module action from it it will only create interface for 1 variable output (be it a list) and i will need another action to parse it.
it is not like action file/folder info that you can put results to different variables right away. -
What if in time you will need to send more variables?
It's not hard to use vars like: [[FUNCTION_RESULT]][0], [[FUNCTION_RESULT]][128] ...
or you have to create own action-module -
@Vituskosoy said in is there way to have more then one output of function?:
What if in time you will need to send more variables?
It's not hard to use vars like: [[FUNCTION_RESULT]][0], [[FUNCTION_RESULT]][128] ...
or you have to create own action-modulethank you for advice.