Note that to use STADEV from 32 bit Visual Basic, you must create a module containing STATISTICA Development Environment VB header file (sd_vb32.inc); call the desired functions, and put stadev32.dll on the path or in VB directory (so it is visible for VB run time).
Private Sub example2(fname$)
H = StaCreateFile(10, 10, fname$)
If H = 0 Then Exit Sub
'change names of 3 first variables:
res = StaSetVarName(H, 1, "ABC")
res = StaSetVarName(H, 2, "MIDDLE")
res = StaSetVarName(H, 3, "XYZ")
'fill the file with random numbers:
For i = 1 To 10
For j = 1 To 10
res = StaSetData(H, i, j, Rnd)
Next j
Next i
StaCloseFile (H)
Debug.Print "finished"
End Sub
| Back to List of Programs |
![[StatSoft]](../../../images/sssmall.gif)
2300 East 14th Street, Tulsa, OK 74104
Phone: (918) 749-1119; Fax: (918) 749-2217
e-mail: info@statsoft.com
©Copyright StatSoft, Inc., 1984-2004.
StatSoft, StatSoft logo, STATISTICA, SEWSS, SEDAS, Data Miner, SEPATH and GTrees are trademarks of StatSoft, Inc.