SysTrapFunc                                                                                         Function

 

SYSTRAPFUNC(trapnum, numargs[, arg1[, arg2[, ...]]]))

 

Description

Trapnum is a constant, defined in Palm OS, that determines which system routine is being called. Numargs is the number of arguments that are passed to the system procedure. Additional arguments that are included will vary, depending on which system procedure is called.  Special attention must be paid to the types of arguments and return values that a system procedure uses.  Please read Tech Note 6 for the complete information on this function.

 

Example

Res=SysTrapFunc(531, 4, 80, 0, 80, 160)  'Calls trap 0xA213 (WinDrawLine)