Hello,
I wrote a lot of functions grouped into a script:
#scriptA
:global fctA do={…}
:global fctB do={…}
etc
How can I call one of these functions in another script ?
#scriptB
…/system script run scriptA …fctB …
Hello,
I wrote a lot of functions grouped into a script:
#scriptA
:global fctA do={…}
:global fctB do={…}
etc
How can I call one of these functions in another script ?
#scriptB
…/system script run scriptA …fctB …
Hi
You need to load / execute the first script first to introduce these functions.
I would suggest to run the first script on startup.
Then you can call on them from shell or other scripts with
$