Тема: Malaysia: List
Показать сообщение отдельно
Старый 29.10.2012, 19:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
Malaysia: List
Источник: http://axmas.blogspot.com/2012/10/list.html
==============

static void Collection_List(Args _args)
{
// Create a new list of type string
List names = new List (Types :: String);
ListEnumerator listE;

;
// Add elements to the list
names.addEnd ("Lucas");
names.addEnd ("Jennifer");
names.addEnd ("Peter");

// Display the content of the list
info (names.toString());
// Get the enumerator of the list
// to loop through it
listE = names.getEnumerator();
while (listE.moveNext())
{
info ( strfmt ("Name: %1", listE.current()));
}
}


Источник: http://axmas.blogspot.com/2012/10/list.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.