Hallo Leute,
ich frage mich derzeit ob es möglich ist, bestimmte Variablen aus einem Hauptprogramm in einer Sub per byval/byref als Suchvariablen in einer Instr (...) funktion zu übergeben:
Variable ist zb "OK"
Ist das möglich oder hat das schon mal jemand gemacht?Code:declare sub xyz(byval z asstring *2) A= "OK" call sub xyz(A) . . . sub xyz(byval z as string *2) B = instr(1,probestring, z) end sub
Grüße MAT
Lesezeichen