I have functions named
MapMSH(Msg.MSH, b)
MapPID(Msg.PID, b)
MapPV1(Msg.PV1,b)
NOW, in another function from where I will be calling above three functions, I have a variable u looping through values MSH, PID and PV1
I know I need to use .. operator to concatenate strings.
what I really want is the value in u to be concatenated to Map, something like
"Map"..u(Msg.u, b)
so that my functions get called automatically as soon as the value in u matches.
With the syntax above, it says unexpected symbol near "Map"
Can someone please tell me the exact syntax for that?