A Few HISE Language Questions
-
@Christoph-Hart, I think these would be for you, though I understand your time is limited to answer such things. And that I may be embarrassing myself in asking some of them. ðŸ«
-
Are there plans to offer the new peak meter visualisers (e.g., FFT waterfall) as Tiles? (Not requesting, just wondering. )
-
Is there a way to identify object types in HISE (e.g., ** IsA**) in the UI thread (including identifying a function ref/pointer)? My goal here is implementing a (limited) form of polymorphism in HISE scripts, and text-based operator overloading. (I suppose I could build an array of every HISE object by ID when I assign them, and maybe a hash table to reference them.)
-
Is the best way to approach Variadic functions to pass in JSON/arrays? This seems to work fine, but it also seems in opposition to HISE's inline function type-safety aims.
-
Are default values supported for function parameters? [EDIT: The answer is no, but now I'm thinking of embedding anonymous functions inside function parameters.]
Thank you.
-
-
-
@d-healey said in A Few HISE Language Questions:
2: We have
typeof
4: No
Thank you, Dave. I didn't realise we had typeof in HISE, cheers. That solves the function issue.
I guess I'm looking for something more like IsA, so I can determine what type(s) of HISE object(s) a variable is referencing.