cancel
Showing results for 
Search instead for 
Did you mean: 

Map key with a dash not allowed ?

olivier_thiry
Participant
0 Kudos

Hello,

I encounter a strange error... I defined a local map, with value like for example :

{EXTR-B48=[timestamp:2012-01-01T13:29:49], TRIPLEXT=[string:2012-02-19T20:45:00], EXTR-B27=[timestamp:2012-01-01T13:30:12], WPLYCUT=[string:2012-01-16T20:45:03]}

So you see I have a dash in the key...

When I use this expression to get the value :

Local.map{"EXTR-B27"}

It's ok...

But if I do this :

Local.map{#Local.name#}

where I set Local.name to EXTR-B27, I got the following error :

Unable to retrieve the value from "Local.map{EXTR-B27}".[Unexpected character '-' was found]

Any idea ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Olivier

Can you try using quotes like this Local.map{"#Local.name#"}

regards

Amrik

olivier_thiry
Participant
0 Kudos

thank you, it works fine

Answers (0)