home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / epmrex.zip / FOGGY.ERX < prev    next >
Text File  |  1992-08-28  |  6KB  |  147 lines

  1. /***********************************************************
  2. *            FOGGY (translated from REXX runes)            *
  3. ***********************************************************/
  4.  
  5. /* List of LEADINS, all of which mean nothing but buy time */
  6. leadin.1  = "In particular,"
  7. leadin.2  = "On the other hand,"
  8. leadin.3  = "However,"
  9. leadin.4  = "Similarly,"
  10. leadin.5  = "As a resultant implication,"
  11. leadin.6  = "In this regard,"
  12. leadin.7  = "Based on integral subsystem considerations,"
  13. leadin.8  = "For example,"
  14. leadin.9  = "Thus,"
  15. leadin.10 = "In respect to specific goals,"
  16. leadin.11 = "Interestingly enough,"
  17. leadin.12 = "Without going into the technical details,"
  18. leadin.13 = "Of course,"
  19. leadin.14 = "To approach true user-friendliness,"
  20. leadin.15 = "In theory,"
  21. leadin.16 = "It is assumed that"
  22. leadin.17 = "Conversely,"
  23. leadin.18 = "We can see, in retrospect,"
  24. leadin.19 = "It is further assumed that"
  25. leadin.20 = "Further,"
  26. leadin.21 = "In summary,"
  27. leadin.22 = "It should be noted that"
  28. leadin.23 = "To further describe and annotate,"
  29. leadin.24 = "Specifically,"
  30. leadin.0  = 24
  31.  
  32. /* List of SUBJECT clauses chosen for no redeeming value whatsoever */
  33. subject.1  = "a large portion of interface coordination communication"
  34. subject.2  = "a constant flow of effective communication"
  35. subject.3  = "the characterization of specific criteria"
  36. subject.4  = "initiation of critical subsystem development"
  37. subject.5  = "the fully integrated test program"
  38. subject.6  = "the product configuration baseline"
  39. subject.7  = "any associated supporting element"
  40. subject.8  = "the incorporation of additional mission constraints"
  41. subject.9  = "the independent functional principle"
  42. subject.10 = "the interrelation of system and/or subsystem technologies"
  43. subject.11 = "the product assurance architecture"
  44. subject.0  = 11
  45.  
  46. /* List of VERB clauses chosen for auto-recursive obfuscation */
  47. verb.1  = "must utilize and be functionally interwoven with"
  48. verb.2  = "maximizes the probability of project success, yet minimizes cost and time required for"
  49. verb.3  = "adds explicit performance limits to"
  50. verb.4  = "necessitates that urgent consideration be applied to"
  51. verb.5  = "requires considerable systems analysis and trade-off studies to arrive at"
  52. verb.6  = "is further compounded when taking into account"
  53. verb.7  = "presents extremely interesting challenges to"
  54. verb.8  = "recognizes other systems' importance and the necessity for"
  55. verb.9  = "affects a significant implementation of"
  56. verb.10 = "adds overriding performance constraints to"
  57. verb.11 = "mandates staff-meeting-level attention to"
  58. verb.12 = "is functionally equivalent and parallel to"
  59. verb.0  = 12
  60.  
  61. /* List of OBJECT clauses selected for profound meaninglessness */
  62. object.1  = "the most recent level of hardware.  "
  63. object.2  = "the anticipated fourth-generation equipment.  "
  64. object.3  = "the subsystem compatibility testing.  "
  65. object.4  = "the structural design, based on system engineering concepts.  "
  66. object.5  = "the preliminary qualification limit.  "
  67. object.6  = "the evolution of specifications over a given time period.  "
  68. object.7  = "the philosophy of commonality and standardization.  "
  69. object.8  = "the greater fight-worthiness concept.  "
  70. object.9  = "any discrete configuration mode.  "
  71. object.10 = "the management-by-contention principle.  "
  72. object.11 = "the total system rationale.  "
  73. object.12 = "possible bidirectional logical relationship approaches.  "
  74. object.13 = "the postulated use of dialog management technology.  "
  75. object.14 = "the overall negative profitability.  "
  76. object.0  = 14
  77.  
  78. Arg times .
  79.  
  80. If times = '?' Then
  81.   Do
  82.     /* user wants help (user probably NEEDS help) */
  83.     Say                   /*                        ( stupid users... ) */
  84.     Say
  85.     Say "FOGGY is an interactive productivity tool designed to assist"
  86.     Say "in the composition of monthly reports, project plans, memos to"
  87.     Say "management and so forth.  If entered without parameters,"
  88.     Say "FOGGY generates as output a high-fog-index sentence suitable for"
  89.     Say "befuddling even the most determined seeker-after-content.  If you"
  90.     Say "need vast amounts of FOGGY for really serious tush-covering, enter"
  91.     Say "the number of sentences needed as a parameter.  For example,"
  92.     Say "entering 'FOGGY 5' outputs half a screen of heat-treated, battle-"
  93.     Say "hard, industrial-strength slop, well suited to choking hogs and"
  94.     Say "assurance planners. "
  95.     Say
  96.     Say "REMEMBER:"
  97.     Say "FOGGY can be a terrible weapon -- never abuse it."
  98.  
  99.     Exit
  100.   End
  101.  
  102. If times = '' Then times = 1
  103.  
  104. leadnum = 0
  105. subnum  = 0
  106. verbnum = 0
  107. objnum  = 0
  108. lastlead = leadnum
  109. lastsub  = subnum
  110. lastverb = verbnum
  111. lastobj  = objnum
  112. outstuff = ''
  113. linesize = 78
  114.  
  115. /* And, last but not least, here's the program */
  116. Do i = 1 To times
  117.   Do While leadnum = lastlead
  118.     leadnum = RANDOM(1, leadin.0)
  119.   End
  120.  
  121.   Do While subnum = lastsub
  122.     subnum = RANDOM(1, subject.0)
  123.   End
  124.  
  125.   Do While verbnum = lastverb
  126.     verbnum = RANDOM(1, verb.0)
  127.   End
  128.  
  129.   Do While objnum = lastobj
  130.     objnum = RANDOM(1, object.0)
  131.   End
  132.  
  133.   outstuff = outstuff leadin.leadnum subject.subnum verb.verbnum object.objnum
  134.  
  135.   lastlead = leadnum;
  136.   lastsub  = subnum;
  137.   lastverb = verbnum;
  138.   lastobj  = objnum;
  139. End /* do */
  140.  
  141. /* OK, now lets put that data out NICELY */
  142. Do Until outstuff = ''
  143.   k=LASTPOS(' ',outstuff,MIN(linesize,LENGTH(outstuff)))
  144.   Call etkinserttext STRIP(LEFT(outstuff,k))
  145.   outstuff=STRIP(SUBSTR(outstuff,k+1),'L')
  146. End
  147.