Previous topicNext topic

C++ maps in global expression

Questions, comments, feedback, etc.
Post Reply
bmcloug
Posts: 1
Joined: Wed Jul 29, 2020 6:31 pm

C++ maps in global expression

Post 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?
Magic
Site Admin
Posts: 3440
Joined: Wed Apr 09, 2014 9:28 pm

Re: C++ maps in global expression

Post by Magic »

Don't think so, but you can use a switch or an if-else for that purpose.
Post Reply