I'm trying to learn a bit about SpiderBasic, and tried to import a js lib but I'm clueless about the process, and couldn't find any help on the forum.
I tried this to import audio.js cause it seemed fairly simple.
So, from what I got, I should do something like that :
Code: Select all
Procedure LoadScript(script.s, *func)
!$.getScript(v_script, p_func);
EndProcedure
Procedure Main()
Protected value = 0
!v_value = audiojs.createAll();
EndProcedure
LoadScript("audio.min.js", @Main())
Any help?