对应楼主的问题,写了下,不知道行不行
$a = '$hCallBack2 = DllCallbackRegister("_TimerCallBackFunc", "none", "hwnd;int;int;dword")' & @CRLF & _
';$hCallBack3 = DllCallbackRegister("_TimerCallBackFunc", "none", "hwnd;int;int;dword")' & @CRLF & _
'$iTimer1 = _WinAPI_SetTimer($hGUI, $TIMERID1, 1000, DllCallbackGetPtr($hCallBack));这里是备注' & @CRLF & _
'$a=2;备注' & @CRLF & '$var = "safdsafadfdf" ;"123"12345(;789";jd' & @CRLF & '$var = "safdsa;fadfdf" ;"123"12345(;789";jd'
$T = StringRegExp($a, '[^a-z](;.*)', 3, 1)
For $i = 0 To UBound($T) - 1
MsgBox(0,0,$T[$i],2)
Next
|