for example I have this
dim myTableCell as TableCell
'use table cell
buncha code
'use table cell
buncha code
'use table cell
Is it better to do a myTableCell = New TableCell() each time or to use a completely different variable. My question came from the fact that when I am done with table cell I like to do a myTableCell = Nothing. Even without it I believe that when you do = New TableCell() it causes late binding, which is slower than early binding right?
So is it better to think up new names for each instance of a class type or is it ok to reuse the same variable by reinstanciating.
Discuss That'l do donkey, that'l do
Mark
If you are unsure of forum etiquette check here faq796-2540
dim myTableCell as TableCell
'use table cell
buncha code
'use table cell
buncha code
'use table cell
Is it better to do a myTableCell = New TableCell() each time or to use a completely different variable. My question came from the fact that when I am done with table cell I like to do a myTableCell = Nothing. Even without it I believe that when you do = New TableCell() it causes late binding, which is slower than early binding right?
So is it better to think up new names for each instance of a class type or is it ok to reuse the same variable by reinstanciating.
Discuss That'l do donkey, that'l do
![[bravo] [bravo] [bravo]](/data/assets/smilies/bravo.gif)
If you are unsure of forum etiquette check here faq796-2540