Add javascript and CSS scripts in the compilation options.
Posted: Tue Mar 25, 2025 8:53 am
Hello.
The LoadScript() function does not work with some Javascript scripts.
For example, this code returns the message “BABYLON is not defined”.
I'd like to be able to add one or more javascript and CSS scripts in the compilation options. These files would be implemented correctly between the <header> tags.
I think these are also the wishes of other SpiderBasic coders.
Thank you in advance for this new feature
The LoadScript() function does not work with some Javascript scripts.
For example, this code returns the message “BABYLON is not defined”.
Code: Select all
Declare Start()
Procedure Start()
!if (BABYLON.Engine.isSupported()) {
!}
EndProcedure
LoadScript("https://cdn.babylonjs.com/babylon.js", @Start())
I think these are also the wishes of other SpiderBasic coders.
Thank you in advance for this new feature