home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / transtab / readme.txt < prev    next >
Encoding:
Text File  |  1996-02-22  |  2.3 KB  |  49 lines

  1. **********************************************************************
  2. * DISCLAIMER OF WARRANTIES:                                          *
  3. *                                                                    *
  4. * The following enclosed code is sample code created by IBM          *
  5. * Corporation.  This sample code is not part of any standard IBM     *
  6. * product and is provided to you solely for the purpose of assisting *
  7. * you in the development of your applications.  The code is provided *
  8. * "AS IS", without warranty of any kind.  IBM shall not be liable    *
  9. * for any damages arising out of your use of the sample code, even   *
  10. * if they have been advised of the possibility of such damages       *
  11. *                                                                    *
  12. **********************************************************************
  13.  
  14. SAMPLE - Code Translation
  15.  
  16.    DESCRIPTION:
  17.         This program allows EBCDIC to ASCII and ASCII to EBCDIC
  18.         translation of a string. It uses two maps, one with the EBCDIC
  19.         code as key (E2AMap) and one with the ASCII code as key (A2EMap).
  20.         It converts from EBCDIC to ASCII by finding the element whose key
  21.         matches the EBCDIC code in E2AMap (which has the EBCDIC code as
  22.         key) and taking the ASCII code information from that element. It
  23.         converts from ASCII to EBCDIC by finding the key that matches the
  24.         ASCII code in A2EMap (which has the ASCII code as key) and taking
  25.         the EBCDIC code information for that element.
  26.  
  27.    TASK:
  28.         This program uses maps to translate strings from EBCDIC to ASCII
  29.         and from ASCCII to EBCDIC.
  30.  
  31.    CONCEPT/FEATURE:
  32.         This program is a sample to demonstrate the use of the default
  33.         class IMap in connection with element operation classes.
  34.  
  35.    HOW TO RUN THE SAMPLE FROM THE COMMAND LINE:
  36.        From within the directory containing the sample, simply type
  37.        the name of the executable:
  38.  
  39.                  TRANSTAB
  40.  
  41.    ADDITIONAL INFORMATION:
  42.  
  43.         For additional information on this and other samples shipped with
  44.         the VisualAge for C++ product, see the Guide to Samples notebook.
  45.  
  46.         To access the notebook from Program Manager, open the VisualAge
  47.         for C++ product object, then open the Guide to Samples notebook.
  48.  
  49.