This macro is supposed to read an element's level and increment it by
known number. What is wrong with it?
sub main()
Dim element as New MBEElement
Dim filepos as long
filePos = element.fromFile (0)
Do While filePos >= 0
if element.isgraphics <> 0 Then
element.level = mbeelement.level + 13
stat = element.rewrite()
End if
filePos = element.fromFile(filePos + element.fileSize)
Loop
End sub


Reply With Quote
