![]() |
#12 |
Участник
|
Уважаемые коллеги вот код. Может он прояснит ситуцию. Функция Dimof здесь не подходит(((
public void OutputContainer(Container _Container) { int i, j; str ant; str strTotal, strExpend; dimension tempArray; common temptable; int k; ; for (i=1; i<=conlen(_Container); i++) { ant = conpeek(_Container,i); //вот моя попытка if (ant == "") { temptable = conpeek(_Container,i); if (typeof(temptable ) != types::record) { tempArray = conpeek(_Container,i); strTotal +=" Массив: "; for (j=1; j<=5;j++) { strExpend +=tempArray[j]+" "; } strTotal += strExpend; } } } else { if ((typeof(ant) == types::VarString)||(typeof(ant) == types::String)||(typeof(ant) == types::RString)) { strTotal+= ant+" "; } } } info(strTotal); } |
|