home *** CD-ROM | disk | FTP | other *** search
- ********************
-
- FUNCTION Matrix
-
- PARAMETERS _matbase, _matx, _maty
-
- IF PCOUNT() < 3 .OR. (_matbase < 0 .OR. _matx < 0 .OR. _maty < 0)
- * Error due to too few parameters or there is a negative
- * number in one of the parameters
- RETURN(0)
- ENDIF
-
- RETURN(((_matx - 1) * _matbase) + _maty)
-
- * End of File