Thread VBScript Arrayhandling (11 answers)
Opened by esskar at 2004-07-28 20:18

kabel
 2004-07-29 14:43
#10519 #10519
User since
2003-08-04
704 Artikel
BenutzerIn
[default_avatar]
also z.b. das hier kapier ich net:

Quote
Dim NotFound (100), Found (100)
Dim NotFoundIndex, FoundIndex
NotFoundIndex = 0
FoundIndex = 0

' .... down the road
If found = 1 Then
'WScript.Echo "[" & data.title & "] has been found"
Found(FoundIndex) = data.title
FoundIndex = FoundIndex + 1
Else
'WScript.Echo " ! [" & data.title & "] has NOT been found"
NotFound(NotFoundIndex) = data.title
NotFoundIndex = NotFoundIndex + 1
End If


bei der zuweisung zum array kommt die obligatorische typkonvertierungsfehlermeldung
-- stefan

View full thread VBScript Arrayhandling