Page 1 of 1
Posted: 28 Nov 2015, 17:25
by sm_jamieson
I have some utility functions that I would like to use in several different scripts. It I put these in their own file, is there a way of "including" or "importing" them ?
Or do I have to paste the functions into all the scripts that wish to use them ?
Thanks,
Simon.
Posted: 28 Nov 2015, 18:00
by 23fx23
might be wrong but i don't think this is possible with scripts, only with sdk, so yep better is to make cunstom callable function and paste in scripts
Posted: 29 Nov 2015, 18:07
by shawnb
This came up before... I still haven't used it, it's worth a try.
http://www.sensomusic.com/forums/viewtopic.php?id=4676
[q]
I think the pascal standard {$include george} works where george = filename.
Haven't used it yet, but it passes compiler syntax.
[/q]
Let us know if it works!