Page 1 of 1

Expressions, variables, syntax (etc)

Posted: Fri Sep 13, 2024 9:00 am
by OldNick
Is there any reference that lays out in detail, from the very get-go and on through, how to use expressions, global variables and the syntax of wrinting stuff?

Any help greatly appreciated.

Nick

Re: Expressions, variables, syntax (etc)

Posted: Fri Sep 13, 2024 6:31 pm
by Sadler
The syntax reference for expressions is here: https://github.com/ArashPartow/exprtk/b ... readme.txt
The Magic user guide has some basic examples: https://magicmusicvisuals.com/downloads ... xpressions
For a little more advanced use of globals, vars and code in expressions, see this post: viewtopic.php?p=12542#p12542
And I think there are other examples throughout the forum, if you search.

This short tutorial uses globals in expressions throughout.
.
Of course none of these are complete as an end-to-end use of expressions+globals though this video and my other tutorials do to some extent.

Re: Expressions, variables, syntax (etc)

Posted: Mon Sep 16, 2024 8:11 pm
by OldNick
Thanks very much for those references! I will trawl through them and hopefully my old brain can do something with them :oops:
Nick