home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / c / cpicture.zip / README.TXT < prev    next >
Text File  |  1992-09-25  |  2KB  |  45 lines

  1.                     *** Paradox-like Picture Parsing ***
  2.  
  3. The enclosed C++ files PARAPICT.CPP and PARAPICT.HPP define a class
  4. which you can use to provide Paradox-like input pictures in your
  5. application.  I have also enclosed TESTPIC.CPP, which demonstrates how
  6. to use this class using standard gets/puts.
  7.  
  8. These pictures implement all the picture characters found in Paradox.
  9. There are, however, a few subtle differences in how things work.  The
  10. most two significant differences are:
  11.  
  12. 1.  An option in an alternative choice is selected as soon as any
  13. character matches the picture.  For example,
  14.  
  15. ###RED###,###GRE###,###YEL###,###BLU###
  16.  
  17. Would not function the same as in Paradox.  With this library, the first
  18. alternate would always be selected, because the first character typed
  19. matches the # of the first one.  To achieve the same effect, you would
  20. use:
  21.  
  22. ###{RED,GRE,YEL,BLU}###
  23.  
  24. I don't think this restriction limits the capability, although it does
  25. make it a little less easy to use.
  26.  
  27. 2.  Literals are only filled in when preceded by a non-special match
  28. character.  For example, the picture:
  29.  
  30. {20,40}W
  31.  
  32. When you type the 2, the 20 is filled in, but not the W (since it is not
  33. preceded.  This is somewhat annoying, I know.  Perhaps I will fix it
  34. someday, or perhaps someone else will (it's not a bug, it intrinsic in
  35. a design shortcut or two).
  36.  
  37. I hope you enjoy these files.  Please drop me a line (although you are
  38. not required to) if you use them, extend them or find any problems.
  39.  
  40. Ken Vogel
  41. CIS 74007,564
  42. FIS, Inc.
  43. 44 Playstead Rd
  44. Newton, MA  02158
  45.