29.10.2012, 19:11 | #1 |
Участник
|
Malaysia: Map
Источник: http://axmas.blogspot.com/2012/10/map.html
============== static void Collection_Map (Args _args) { // Create a new map with a key and value type Map cars = newMap (Types :: Integer, Type :: String); MapEnumerator mapE; ; // Insert values to the map cars.insert (1, "Volvo"); cars.insert (2, "BMW"); cars.insert (3, "Chrysler"); //Display the content of the map info (cars.toString()) ; // Get the enumerator to loop // through the elements of the map mapE = cars.getEnumerator(); while (mapE.moveNext()) { info (strfmt ("Car %1: %2, mapE.currentKey(), mapE.currentKey()); } } Источник: http://axmas.blogspot.com/2012/10/map.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
29.10.2012, 22:47 | #2 |
MCT
|
не удержался, малэйжа трули эйжа
__________________
Axapta book for developer |
|