Page 1 of 1

C++ maps in global expression

Posted: Wed Jul 29, 2020 6:38 pm
by bmcloug
Hi, I'm wondering if it's possible use a C++ map within a global expression. I would like to be able to take an input value (track number) to return an output value (track start timecode) and vice versa. That way I could have a global return the track number when a playback timecode is reached. Are these data structures available within Magic?

Re: C++ maps in global expression

Posted: Wed Jul 29, 2020 8:31 pm
by Magic
Don't think so, but you can use a switch or an if-else for that purpose.