Hi Bruce, Alan,
Please run the following script and see if you can figure out what the
problem is (I think it has something to do with vector handle ov).
I tried it in empty pcf (no difference). It hangs up soon after
completing interation 3.
---------------------------
PowerPro
---------------------------
ERROR: regex.pcreMatchAll: Bad input params
Error occurred near line 10 of script [EMAIL PROTECTED]:
regex.pcrematchall(?"\x22(.+?)\x22(?:,|$)",other, ?"$1", "", 0, ov)
Called from line 17 of script [EMAIL PROTECTED]
Called from line 1 of script testrxma
Press Cancel to end all running scripts.
---------------------------
OK Cancel
---------------------------
Thanks,
Sheri
testrxma.powerpro:
testvfunction()
quit
Function vfunction()
for (local i=1;i<17;i++)
local other=?z"Item One","Item Two","Item Three","Item Four"z
if (vec.exists("ov"))
ov.destroy
local ov=vec.create(10,1)
regex.pcrematchall(?"\x22(.+?)\x22(?:,|$)",other, ?"$1", "", 0, ov)
win.debug(i, regex_count)
endfor
quit
Function testvfunction()
For (local x=1; x<17; x++)
vfunction()
win.debug("==== iteration "++x++" ====")
endfor
quit