bell notificationshomepageloginNewPostedit profiledmBox

Hoots : Supercollider: Include additional source code file Is there a way in a Supercollider source code file to include another source code file from disk, like the "include"-statement does in C++? I assume there must be a way - freshhoot.com

10% popularity   0 Reactions

Supercollider: Include additional source code file
Is there a way in a Supercollider source code file to include another source code file from disk, like the "include"-statement does in C++?

I assume there must be a way to do it, but I haven't managed to find any example by googling.


Load Full (1)

Login to follow hoots

1 Comments

Sorted by latest first Latest Oldest Best

10% popularity   0 Reactions

Supercollider appears to be able to execute code from external files, though whether this is an include-into-the-current-namespace or something-run-in-a-new-environment I don't know:
doc.sccode.org/Classes/String.html#-load
A recursive grep for "loadPath" should turn up examples:
supercolliderbook.net/code/code.zip


Back to top Use Dark theme