FUNCTION AddAnArrayRow
lparameter taarray, tuarg1, tuarg2, tuarg3, tuarg4
local ncol, nrow
ncol = ALEN(taarray,2)
nrow = alen(taarray,1)
dimension taarray[nrow+1, ncol]
local nCtr
FOR nCtr = MIN(ncol,4)
taarray[nrow+1,nCtr] = EVAL('tuarg'+str(cNtr,1))
ENDFOR
RETURN .t.
DIMENSION myArray[1,2]
MyArray[1,1] = 'First'
MyArray[1,2] = 'Second'
=AddAnArrayRow(@MyArray,3,'Four')
=AddAnArrayRow(@MyArray,'Five',6.000)EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater
NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC
The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys