Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Lparameters taArray
* Process the array element by element
For lnCount = 1 to Alen(taArray)
If Type(taArrray[lnCount]) = "N" And ;
taArray[lnCount] >= 5
Return lnCount
Endif
Endfor
Endfor
LOCAL myArr[5]
LOCAL la[ALEN(myArr)]
myArr[1] =4
myArr[2] =3
myArr[3] =8
myArr[4] =1
myArr[5] =6
FOR lni = 1 TO ALEN(la)
la[lni] = SIGN(myArr[lni]-5)
NEXT
?ASCAN(la,1)
LOCAL myArr[5]
LOCAL la[ALEN(myArr)]
myArr[1] =4
myArr[2] =3
myArr[3] =5
myArr[4] =1
myArr[5] =6
FOR lni = 1 TO ALEN(la)
la[lni] = MIN(SIGN(myArr[lni]-5),0)
NEXT
?ASCAN(la,0)
What is cursor in VFP?