|
|
#5 |
|
Участник
|
Цитата:
посмотрите что такое MapIterator
проще сделать так: Код: edit integer emPercent(boolean _set, AL_TCSExecutives _executives, integer _val)
{
if (!mapPercent)
{
mapPercent = new map (types::integer, types::Integer);
}
if (_set && _val)
{
mapPercent.insert(_executives.RecId, _val);
}
return mapPercent.exists(_executives.RecId) ? mapPercent.lookup(_executives.RecId) : 0;
}Последний раз редактировалось 25-17; 08.06.2006 в 07:22. |
|
|