P
Prudencio
With VBA, I have to know the list of Synonims of a word Wrd. I use the
following code, but I see that the free memory of system decrease of about
300 bytes for each invocation of SunonimInfo. Since I have to evaluate the
list of synonim for thousand of words, I have a memori problem.
Anyone know how memory can be recovered?
Thank you, however.
Private Function FirstValidSynonim(Wrd As String)
Dim SynCount As Integer
Dim SynList As Variant
SynCount = SynonymInfo(Wrd, wdItalian).MeaningCount
If SynCount > 0 Then
SynList = SynonymInfo(Wrd, wdItalian).MeaningList
End If
If SynCount > 0 Then
for i = 1 to SynCount
'Search if SynList(i) is already in database
next
End If
Set SynList = Nothing
End Function
following code, but I see that the free memory of system decrease of about
300 bytes for each invocation of SunonimInfo. Since I have to evaluate the
list of synonim for thousand of words, I have a memori problem.
Anyone know how memory can be recovered?
Thank you, however.
Private Function FirstValidSynonim(Wrd As String)
Dim SynCount As Integer
Dim SynList As Variant
SynCount = SynonymInfo(Wrd, wdItalian).MeaningCount
If SynCount > 0 Then
SynList = SynonymInfo(Wrd, wdItalian).MeaningList
End If
If SynCount > 0 Then
for i = 1 to SynCount
'Search if SynList(i) is already in database
next
End If
Set SynList = Nothing
End Function