From: <Sha...@si...> - 2007-01-16 15:25:18
|
"if (info.insertBefore())" should be adequate, unless the GDL programmer has overridden the default behavior for attachments that prohibits insertion. If you absolutely want to forbid insertions in the middle of attached clusters, then you need the more complicated thing to be sure. sil...@li... wrote on 01/15/2007 06:04:17 AM: > Dear All, > > Is this what we want for a test for insertion? > > if (info.insertBefore() && (!info.isAttached() || info.logicalIndex() == > (*(info.attachedClusterBase())).logicalIndex())) > > I was assuming that > > if (info.insertBefore()) > > would be sufficient. (And so was the code come to that ;)) > > GB, > Martin > |