home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / l / l210 / 1.ddi / REFEXAMP.ARC / FRNTTKN3.PRO < prev    next >
Encoding:
Text File  |  1988-06-21  |  678 b   |  21 lines

  1. %====================== fronttoken/3          ===============================
  2. Goal: fronttoken("all boys do fine",TOK,REST)
  3. TOK=all, REST= boys do fine
  4. 1 Solution
  5. Goal: fronttoken("all+boys do fine",TOK,REST),fronttoken(REST,TOK1,_)
  6. TOK=all, REST=+boys do fine, TOK1=+
  7. 1 Solution
  8. Goal: fronttoken("22all boys do fine",TOK,REST)
  9. TOK=22, REST=all boys do fine
  10. 1 Solution
  11. Goal: fronttoken("22.66all boys do fine",TOK,REST)
  12. TOK=22.66, REST=all boys do fine
  13. 1 Solution
  14. Goal: fronttoken("-22.66all boys do fine",TOK,REST)
  15. TOK=-, REST=22.66all boys do fine
  16. 1 Solution
  17. Goal: fronttoken(".66all boys do fine",TOK,REST)
  18. TOK=., REST=66all boys do fine
  19. 1 Solution
  20. Goal:
  21.