help по методу mapIterator.end() :
Description
Moves the iterator past the last element in the map.
Syntax
public void end()
Remarks
After executing this function more() will return FALSE.
X++:
static void PO_MapIterator(Args _args)
{
MapIterator mapIterator;
Map map = new Map(Types::Integer, Types::String);
;
map.insert(1, 'one');
map.insert(2, 'two');
map.insert(3, 'three');
mapIterator = new mapIterator(map);
mapIterator.end();
if (mapIterator.more())
{
info('mapIterator.more() return TRUE');
}
}
Это бага...это фича...что это, кто знает?