brucexs wrote:

> Can yo provide
> more of the script and exactly what that statement was?
>
It's a huge script, but I determined exactly the last line where static HSiz becomes undefined.
NOTE: HVec becomes undefined from the second execution of the script on.

// there code before

if( HSiz )do

local v=vec.create(HSiz,0,256)
local r=vec.create(HSiz,0,16)
if(not vec.exists(v) || not vec.exists(r))
  quit("ERROR no space to create vector")

; default "sortrecent"
local p=HLast

local i=0
local lbl
for(i<vec.length(HVec))
  lbl = line(HVec[p],lblPOS+HCBSz)
;x2
  if(select(remove("0 "++gvDebugLevels,index("0 "++gvDebugLevels++" 0"," "++scriptname++" ")-2),1,1)>
1)
    win.debug(scriptname++"@Menu label is <"++lbl++">")

  if("file" == labelformat) do
    v[i] = file.name(lbl) ;; file?
    if("" == v[i])
      v[i] = lbl ;; it's folder
  else
    v[i] = lbl
  endif

  r[i] = p
  i=i+1
  p=p-1
  if(p<0)
    p = vec.length(HVec) - 1
endfor

; done extracting labels
endif
;b!
win.debug("HSiz=",HSiz)

; user-selected menu entry
; (for simple and rich menus)
local s=-1

// there's code after

HVec becomes undefined right after line
local s=-1

> Also, when HS17 is null, can you check to see if a global of that name
> has been created by PowerPro (by mistake). 
>

No, there's no global of that name.



Attention: PowerPro's Web site has moved: http://www.ppro.org



SPONSORED LINKS
Computer monitoring software Power pro Computer and internet software
Free computer monitoring software


YAHOO! GROUPS LINKS




Reply via email to