Getting an element from an array stored in an external js file
Does anybody know how to print an element stored in an external js file?
Obviously we need to pull the file into our HISE session using
but how would we then access elements from the file?
Ultimately, I'm trying to print a random string element from an array stored in a js file to a text label in HISE.
d.healey last edited by
Show me the contents of the file.
d.healey last edited by d.healey
include("arrayfile.js"); Console.print(fruit.Data[Math.randInt(0, 3)]);