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


static void Collection_Struct (Args _args)
{
//Create a struct with two fields
struct myCar = new struct ("int ModelYear; str Carbrand");
int i;
;
// Set values to the fields
mycar.value ("ModelYear", 2000);
mycar.value ("Carbrand", "BMW");

// Add a new field and give it a value
myCar.add ("Model", "316");

//Loop through the fields of the struct
for ( i = 1; i
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.