home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / armbob / armbob_1 / ARMBOB / !ArmBob / progs / h / chain < prev    next >
Encoding:
Text File  |  1995-04-05  |  287 b   |  17 lines

  1. /* Chain another task - command given in s.          */
  2. /* Not for use in wimp programs.    GCW  02/03/94    */
  3.  
  4. chain(s)
  5. {
  6.  local r, m;
  7.  (r = newvector(8))[0] = s;
  8.  in (m = newstring(4)) put { 0;}
  9.  wimp_init(310,"Chain",m);
  10.  swi("Wimp_StartTask",r);
  11.  wimp_closedown();
  12.  quit("");
  13. }
  14.  
  15.  
  16.  
  17.