hello,
i get this error when i call this function:
any ideas?
thank you
i get this error when i call this function:
Code:
FUNCTION bookopt
LPARAMETERS bk , cl, opt
IF opt=1
IF bk = .t. and. cl = .f.
RTN=.t.
ELSE
RTN=.f.
ENDIF
ENDIF
IF opt=2
IF bk = .f. and. cl = .f.
RTN=.t.
ELSE
RTN=.f.
ENDIF
ENDIF
IF opt=3
IF cl = .t.
RTN=.t.
ELSE
RTN=.f.
ENDIF
ENDIF
RETURN rtn
ENDFUNC
any ideas?
thank you