home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / l / l200 / 6.ddi / TRAN / PAR.H < prev    next >
Encoding:
C/C++ Source or Header  |  1986-08-21  |  3.2 KB  |  78 lines

  1. /* par.h - define parameter pattern indices
  2.  
  3.     Copyright (c) 1984 by JMI Software Consultants, Inc.
  4.  
  5. These are the parameter pattern definitions.  Each line has four
  6. parts to it (after the keyword define).  The first is the name
  7. of the parameter pattern; the second is the index in the array pdt
  8. in the file parampat.c that starts that particular pattern; 
  9. the third is the description to show the way the input will look;
  10. and the fourth is the description to show the way the output will look.
  11.  
  12. Abbreviations used:
  13.     I -- Integer expression
  14.     D -- Double expression
  15.     S -- String expression
  16.     A -- Any expression
  17.     P -- Pointer to a string
  18.     F -- FIELD variable
  19.     C -- Integer constant 0 - 9
  20.     L -- Current statement number
  21.     a|b -- either a or b
  22.     ' ' -- Literal
  23.     [ ]    -- Optional.  If what is looked for isn't found, the
  24.             default value for that type is outputted (except with ANY 
  25.             or single letters, nothing is outputted).
  26.     @TS -- Address of Temporary String
  27.     ... -- An infinite list of the same type, with the last item
  28.             of the list being the default value of that type.
  29. */
  30.  
  31. #define par_I        1    /* (I)                    (I)                        */
  32. #define par_D        4    /* (D)                    (D)                        */
  33. #define par_S        6    /* (S)                    (S)                        */
  34. #define par_INSTR    8    /* ([I,] S, S)            (I, S, S)                */
  35. #define par_OPT        14    /* (A)                    (A)                        */
  36. #define par_1OINT    16    /* [I]                    (I)                        */
  37. #define par_3OINT    18    /* [I, I, I]            (I, I, I)                */
  38. #define par_5OINT    20    /* [I, I, I, I, I]        (I, I, I, I, I)            */
  39. #define par_USR        32    /* [C]=D                'D'(I, D)                */
  40. #define par_VPTR    33    /* [#I]|A                (I, A)                    */
  41. #define par_DATE    38    /* =S                    'S'(S)                    */
  42. #define par_FN        39    /* (A, ...)                (A, ...)                */
  43. #define par_TNARG    43    /*                         (@TS)                    */
  44. #define par_LSET    45    /* F|S=S                (F|P, S)                */
  45. #define par_NARG    48    /*                         ()                        */
  46. #define par_BINF    49    /* [#][D,] ...            (I, ..., 0)                */
  47. #define par_MDST    56    /* (S, I [,I])=S        'S'(P, I, I, S)            */
  48. #define par_NAME    67    /* S AS S                (S, S)                    */
  49. #define par_X1OINT    71    /* I                    (I)                        */
  50. #define par_WIDTH    72    /* S|I, I                ['D'](S|I, I)            */
  51. #define par_INP        81    /* (I [,I])                (@TS, I, I)            */
  52. #define par_FUSR    86    /* [C](A)                (I, A)                    */
  53. #define par_SOPT    93    /* [S]                    (S)                        */
  54. #define par_WAIT    96    /* I, I [,I]            (I, I, I)                */
  55. #define par_TI        100    /* (I)                    (@TS, I)                */
  56. #define par_TSI        103    /* (S, I)                (@TS, S, I)            */
  57. #define par_TD        106    /* (D)                    (@TS, D)                */
  58. #define par_STR        111    /* (I, I|S)                ['D'](@TS, I|S)        */
  59. #define par_MID        118    /* (S, I [,I])            (@TS, S, I, I)            */
  60. #define par_XS        121    /* S                    (S)                        */
  61. #define par_XI        124    /* I                    (I)                        */
  62. #define par_XUI        125    /* I, I                    (I, I)                    */
  63. #define par_SEG        129    /* [=][D]                (D)                        */
  64. #define par_OPEN    131    /* S, I, S [,I]            'B'(S, I, S, I)            */
  65.                         /* or                                            */
  66.                         /* S [FOR mode] AS I [LEN=I]    'BS'(S, I, I, I)*/
  67.                         /* mode can be APPEND, INPUT or OUTPUT            */
  68. #define par_GET        159    /* [#]I [,I]            (I, I)                    */
  69. #define par_LNUM    162    /*                        (L)                        */
  70. #define par_RND        164    /* [(D)]                (D)                        */
  71. #define par_RAN        166    /* [D]                    'S'(D)                    */
  72. #define par_CLEAR    178    /* [, D, D]                (I, D, D)                */
  73. #define par_BU        184    /* (I)                    'B'(I)                    */
  74. #define par_BXUI    185    /* I, I                    'B'(I, I)                */
  75. #define par_SHELL    191
  76. #define par_LOCK    194
  77. #define par_UNLK    205
  78.