I would like to use a dotnet Dictionary to hold a key value pair. I can add items to the dictionary however I cannot workout how to loop through the dictionary and extract the Key and the value into separate variables.
I am using the following dotnet datatypes..
Dict System.Collections.Generic.Dictionary`2.'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
Element System.Object.'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
FOREACH Element IN Dict DO
BEGIN
MESSAGE(FORMAT(Element));
END;
The output of the Message is the key and value in square brackets e.g. [key,value]
However I would like to retrieve the key and value separately.
Thank you
0
Answers
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/