home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / historic / v941.tgz / icon.v941src.tar / icon.v941src / src / h / fdefs.h < prev    next >
Text File  |  2000-07-29  |  5KB  |  263 lines

  1. /*
  2.  * Definitions of functions.
  3.  */
  4.  
  5. #undef exit        /* may be defined under ConsoleWindow */
  6. #undef getenv        /* may be defined under AMIGA */
  7.  
  8. FncDef(abs,1)
  9. FncDef(acos,1)
  10. FncDef(any,4)
  11. FncDef(args,1)
  12. FncDef(asin,1)
  13. FncDef(atan,2)
  14. FncDef(bal,6)
  15. FncDef(center,3)
  16. FncDef(char,1)
  17. FncDef(chdir,1)
  18. FncDef(close,1)
  19. FncDef(collect,2)
  20. FncDef(copy,1)
  21. FncDef(cos,1)
  22. FncDef(cset,1)
  23. FncDef(delete,2)
  24. FncDefV(detab)
  25. FncDef(dtor,1)
  26. FncDefV(entab)
  27. FncDef(errorclear,0)
  28. FncDef(exit,1)
  29. FncDef(exp,2)
  30. FncDef(find,4)
  31. FncDef(flush,1)
  32. FncDef(function,0)
  33. FncDef(get,2)
  34. FncDef(getenv,1)
  35. FncDef(iand,2)
  36. FncDef(icom,1)
  37. FncDef(image,1)
  38. FncDef(insert,3)
  39. FncDef(integer,1)
  40. FncDef(ior,2)
  41. FncDef(ishift,2)
  42. FncDef(ixor,2)
  43. FncDef(key,2)
  44. FncDef(left,3)
  45. FncDef(list,2)
  46. FncDef(log,1)
  47. FncDef(many,4)
  48. FncDef(map,3)
  49. FncDef(match,4)
  50. FncDef(member,1)
  51. FncDef(move,1)
  52. FncDef(numeric,1)
  53. FncDef(ord,1)
  54. FncDef(pop,1)
  55. FncDef(pos,1)
  56. FncDef(pull,1)
  57. FncDefV(push)
  58. FncDefV(put)
  59. FncDef(read,2)
  60. FncDef(reads,2)
  61. FncDef(real,1)
  62. FncDef(remove,2)
  63. FncDef(rename,1)
  64. FncDef(repl,2)
  65. FncDef(reverse,1)
  66. FncDef(right,3)
  67. FncDef(rtod,1)
  68. FncDefV(runerr)
  69. FncDef(seek,2)
  70. FncDef(seq,2)
  71. FncDef(serial,1)
  72. FncDef(set,1)
  73. FncDef(sin,1)
  74. FncDef(sort,2)
  75. FncDef(sortf,2)
  76. FncDef(sqrt,1)
  77. FncDefV(stop)
  78. FncDef(string,1)
  79. FncDef(system,1)
  80. FncDef(tab,1)
  81. FncDef(table,1)
  82. FncDef(tan,1)
  83. FncDef(trim,2)
  84. FncDef(type,1)
  85. FncDef(upto,4)
  86. FncDef(where,1)
  87. FncDefV(write)
  88. FncDefV(writes)
  89.  
  90. #if AMIGA || UNIX || VMS || OS2_32 || NT || SCCX_MX
  91.    FncDef(delay,1)
  92. #endif                    /* AMIGA || UNIX || VMS || OS2_32... */
  93.  
  94. #ifdef Graphics
  95.    FncDefV(open)
  96. #else                    /* Graphics */
  97.    FncDef(open,3)
  98. #endif                    /* Graphics */
  99.  
  100. #ifdef MultiThread
  101.    FncDef(display,3)
  102.    FncDef(name,2)
  103.    FncDef(proc,3)
  104.    FncDef(variable,3)
  105. #else                    /* MultiThread */
  106.    FncDef(display,2)
  107.    FncDef(name,1)
  108.    FncDef(proc,2)
  109.    FncDef(variable,1)
  110. #endif                    /* MultiThread */
  111.  
  112. /*
  113.  * Dynamic loading.
  114.  */
  115. #ifdef LoadFunc
  116.    FncDef(loadfunc,2)
  117. #endif                    /* LoadFunc */
  118.  
  119. /*
  120.  * Executable images.
  121.  */
  122. #ifdef ExecImages
  123.    FncDef(save,1)
  124. #endif                    /* ExecImages */
  125.  
  126. /*
  127.  * External functions.
  128.  */
  129. #ifdef ExternalFunctions
  130.    FncDefV(callout)
  131. #endif                    /* ExternalFunctions */
  132.  
  133. /*
  134.  * Keyboard Functions
  135.  */
  136. #ifdef KeyboardFncs
  137.    FncDef(getch,0)
  138.    FncDef(getche,0)
  139.    FncDef(kbhit,0)
  140. #endif                    /* KeyboardFncs */
  141.  
  142. /*
  143.  * Functions for MS-DOS.
  144.  */
  145. #ifdef DosFncs
  146.    FncDef(Int86,1)
  147.    FncDef(Peek,1)
  148.    FncDef(Poke,1)
  149.    FncDef(GetSpace,1)
  150.    FncDef(FreeSpace,1)
  151.    FncDef(InPort,1)
  152.    FncDef(OutPort,1)
  153. #endif                    /* DosFncs */
  154.  
  155. /*
  156.  * Functions for the Archimedes.
  157.  */
  158. #ifdef ArmFncs
  159.    FncDef(Swi,2)
  160.    FncDef(Peek,2)
  161.    FncDef(Poke,2)
  162.    FncDef(GetSpace,1)
  163.    FncDef(FreeSpace,1)
  164. #endif                    /* ArmFncs */
  165.  
  166. /*
  167.  * Event processing functions.
  168.  */
  169. #ifdef EventMon
  170.    FncDef(EvGet,2)
  171.    FncDef(event,3)
  172.    FncDef(eventmask,2)
  173.    FncDef(opmask,2)
  174. #endif                    /* EventMon */
  175.  
  176. /*
  177.  * Graphics functions.
  178.  */
  179. #ifdef Graphics
  180.    FncDef(Active,0)
  181.    FncDefV(Alert)
  182.    FncDefV(Bg)
  183.    FncDefV(Clip)
  184.    FncDefV(Clone)
  185.    FncDefV(Color)
  186.    FncDefV(ColorValue)
  187.    FncDefV(CopyArea)
  188.    FncDefV(Couple)
  189.    FncDefV(DrawArc)
  190.    FncDefV(DrawCircle)
  191.    FncDefV(DrawCurve)
  192.    FncDefV(DrawImage)
  193.    FncDefV(DrawLine)
  194.    FncDefV(DrawPoint)
  195.    FncDefV(DrawPolygon)
  196.    FncDefV(DrawRectangle)
  197.    FncDefV(DrawSegment)
  198.    FncDefV(DrawString)
  199.    FncDefV(EraseArea)
  200.    FncDefV(Event)
  201.    FncDefV(Fg)
  202.    FncDefV(FillArc)
  203.    FncDefV(FillCircle)
  204.    FncDefV(FillPolygon)
  205.    FncDefV(FillRectangle)
  206.    FncDefV(Font)
  207.    FncDefV(FreeColor)
  208.    FncDefV(GotoRC)
  209.    FncDefV(GotoXY)
  210.    FncDefV(Lower)
  211.    FncDefV(NewColor)
  212.    FncDefV(PaletteChars)
  213.    FncDefV(PaletteColor)
  214.    FncDefV(PaletteKey)
  215.    FncDefV(Pattern)
  216.    FncDefV(Pending)
  217.    FncDefV(Pixel)
  218.    FncDef(QueryPointer,1)
  219.    FncDefV(Raise)
  220.    FncDefV(ReadImage)
  221.    FncDefV(TextWidth)
  222.    FncDef(Uncouple,1)
  223.    FncDefV(WAttrib)
  224.    FncDefV(WDefault)
  225.    FncDefV(WFlush)
  226.    FncDef(WSync,1)
  227.    FncDefV(WriteImage)
  228.    #ifdef MSWindows
  229.       FncDefV(WinPlayMedia)
  230.       FncDefV(WinEditRegion)
  231.       FncDefV(WinButton)
  232.       FncDefV(WinScrollBar)
  233.       FncDefV(WinMenuBar)
  234.       FncDefV(WinColorDialog)
  235.       FncDefV(WinFontDialog)
  236.       FncDefV(WinOpenDialog)
  237.       FncDefV(WinSaveDialog)
  238.       FncDefV(WinSelectDialog)
  239.       #ifdef FAttrib
  240.          FncDefV(fattrib)
  241.       #endif                /* FAttrib */
  242.    #endif                /* MSWindows */
  243. #endif                    /* Graphics */
  244.  
  245. #ifdef MultiThread
  246.    /*
  247.     * These functions are under MultiThread for no good reason.
  248.     */
  249.    FncDef(cofail,1)
  250.    FncDef(globalnames,1)
  251.    FncDef(fieldnames,1)
  252.    FncDef(localnames,2)
  253.    FncDef(staticnames,2)
  254.    FncDef(paramnames,2)
  255.    FncDef(structure,1)
  256.    /*
  257.     * These functions are inherent to MultiThread and multiple Icon programs
  258.     */
  259.    FncDefV(load)
  260.    FncDef(parent,1)
  261.    FncDef(keyword,2)
  262. #endif                    /* MultiThread */
  263.