home *** CD-ROM | disk | FTP | other *** search
- /*================================================*/
- /* TVPGOTO.C */
- /* */
- /* (c) Copyright 1988 Ralf Brown */
- /* All Rights Reserved */
- /* May be freely copied for noncommercial use as */
- /* long as this copyright notice is kept intact */
- /* and any changes are indicated in the comment */
- /* blocks for the functions */
- /*================================================*/
-
- #include "tvapi.h"
-
- /*================================================*/
- /* TVptr_goto move the pointer to given pos */
- /* Ralf Brown 5/10/88 */
- /*================================================*/
-
- void pascal TVptr_goto(OBJECT ptr,int row,int col)
- {
- PARMLIST2 p ;
-
- if (ptr)
- {
- p.num_args = 2 ;
- p.arg[0] = row ; /* y coordinate */
- p.arg[1] = col ; /* x coordinate */
- TVsendmsg(WRITE_MSG, TOS, ptr, (PARMLIST *)&p) ;
- }
- }
-
- /* End of TVPGOTO.C */
-