--- In [email protected], "Sheri" <[EMAIL PROTECTED]> wrote: > > use of regex removed. > > for (local i=1;i<52;i++) > win.debug("iteration:", i) > ; local ov > ; if (vec.exists(ov)) > ; ov.destroy > local ov=vec.create(10,1) > if (vec.exists(ov)==1) do > win.debug("ov vector handle created") > else > win.debug("ERROR!! NO VECTOR CREATED!") > endif > endfor > quit > > > Above works if the three commented lines are uncommented. Otherwise it > fails to create a vector on the 51st iteration. >
You can only have 50 vectors at most open at same time. This limit can be increased with vec plugin call. I thought it was in the help somewhere but it may have got lost when I move the help from plain text. The above works if you - restart PowerPro to make sure vec table is there - uncomment the lines which destroy the vector.
