Форум » [x]Harbour » ordBagClear() » Ответить

ordBagClear()

Pasha: Как работает эта функция ? Такое впечатление, что она вообще ничего не делает. request dbfcdx Function Main Clear screen rddSetDefault('DBFCDX') // открываем любой файл с индексом use test new index test ? ordBagName(), IndexOrd(), IndexKey(), ordKeyCount() ? OrdBagClear( ordBagName() ) ? ordBagName(), IndexOrd(), IndexKey(), ordKeyCount() inkey(0) return NIL первая и третья строки вывода одинаковые, вторая - .T.

Ответов - 2

AlexMyr: 2008-09-22 20:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * do not allow to close production index by ordBagClear() when strict FP compatibility is set for production index or when _SET_AUTOPEN is enabled. It compatible behavior to ordListClear() function При установке set autopen off должно очищать

Pasha: Понятно, спасибо



полная версия страницы