For example:
CREATE CURSOR Test (Field1 I NULL)
FOR lnCount = 1 TO 20
INSERT INTO Test VALUES (lnCount)
ENDFOR
INSERT INTO Test VALUES (NULL)
COUNT FOR Field1=10 AND IsEven(Field1)
FUNCTION IsEven(tnNumber)
? "Number is: " + TRANSFORM(tnNumber)
RETURN (MOD(tnNumber, 2) = 0)
ENDFUNC
Fabio
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only