I was wondering if there are any memory issues or implications I should consider when coding. EG: Is there a garbage collection routine? Would repeatedly creating/destroying certain MemVars/Objects slow performance?
Example 1:
Code: Select all
Dim objSongData
Sub SaveTrack (objSongList)
If objSonglist.Count > 0 then
For SongKey = 0 to objSonglist.Count -1
Set objSongData = objSonglist.Item(SongKey)
' blah
Next
End If
End Sub
Code: Select all
Sub SaveTrack (objSongList)
Dim objSongData
If objSonglist.Count > 0 then
For SongKey = 0 to objSonglist.Count -1
Set objSongData = objSonglist.Item(SongKey)
' blah
Next
End If
End Sub
Code: Select all
Sub SaveTrack (objSongList)
If objSonglist.Count > 0 then
For SongKey = 0 to objSonglist.Count -1
Dim objSongData
Set objSongData = objSonglist.Item(SongKey)
' blah
Next
End If
End Sub
Are there any implications when using array/table/list/hash type MemVars?