10-27-2006, 08:41 AM
To add array element, I usually use this:
a[a.redim(-1)]=h
a.redim(-1) resizes the array by 1 element and returns the index of the element.
Or use this:
int ni
ni=a.redim(-1)
a[ni]=h
_____
win("" "" "IEXPLORE")
will return hidden windows too. Use flag 0x400 if you need only visible windows.
rep
,0.1
,h=win("" "" "IEXPLORE" 0x400)
,if(h)
,,a[a.redim(-1)]=h
,,hid h
Use
,hid- h; err
a[a.redim(-1)]=h
a.redim(-1) resizes the array by 1 element and returns the index of the element.
Or use this:
int ni
ni=a.redim(-1)
a[ni]=h
_____
win("" "" "IEXPLORE")
will return hidden windows too. Use flag 0x400 if you need only visible windows.
rep
,0.1
,h=win("" "" "IEXPLORE" 0x400)
,if(h)
,,a[a.redim(-1)]=h
,,hid h
Use
,hid- h; err