C++ maps in global expression

Wed Jul 29, 2020 6:38 pm

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?
bmcloug
 
Posts: 1
Joined: Wed Jul 29, 2020 6:31 pm

Re: C++ maps in global expression

Wed Jul 29, 2020 8:31 pm

Don't think so, but you can use a switch or an if-else for that purpose.
Eric
Site Admin
 
Posts: 2807
Joined: Wed Apr 09, 2014 9:28 pm

Return to General Discussion

© 2020 Color & Music, LLC • This web site is mobile-friendly