Sorry, I mean "row <= ListCount-1" On 25/04/06, Maarten de Vries <[EMAIL PROTECTED]> wrote: > > If you check "row > 0" then I would also check "row < ListCount-1", but > that's up to you. I find it annoying you have to check in your own code if > the row exists, and that those methods dont just ignore call's to non > existing rows, although it might be good for debugging. Anyway, I would > check "row > 0" and "row < ListCount-1" or I wouldn't check it at all... > > > > > RowTag: > > > > Sub RowTag(row as Integer, assigns v as Variant) > > me.CellTag(row, 0) = v > > End Sub > > > > Sub RowTag(row as Integer) as Variant > > if row >= 0 then > > return me.CellTag(row, 0) > > else > > return 0 > > end if > > End Sub > > > > _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
