home *** CD-ROM | disk | FTP | other *** search
/ Shareware Supreme Volume 6 #1 / swsii.zip / swsii / 198 / DOS6ALL.ZIP / Q96697 < prev    next >
Text File  |  1993-06-05  |  2KB  |  67 lines

  1.  
  2. ARTICLE-ID:Q96697
  3. TITLE     :Using ANSI Characters with CHOICE                             
  4.  
  5. --------------------------------------------------------------------
  6. The information in this article applies to:
  7.  
  8.  - Microsoft MS-DOS operating system version 6.0
  9. --------------------------------------------------------------------
  10.  
  11. Summary:
  12.  
  13. The CHOICE command allows only one key to be used per selection. For
  14. example, you cannot use 12 (twelve) as key selection. CHOICE
  15. interprets this as 1 and 2. however, you can use the ANSII character
  16. set by holding down the ALT key and entering the appropriate 3-key
  17. combination on the numeric keypad. Not all combinations work but you
  18. can use up to 222 different entries from the 255 available. The table
  19. below details the 255 characters.
  20.  
  21.    0-27               Do not work
  22.    28-31              Work
  23.    32                 Do not work
  24.    33-255             Work with the some xceptions noted below
  25.  
  26. More Information:
  27.  
  28. ALT + 37. displays the '%' sign on your screen.
  29.  
  30. When you use the percent sign in a batch file it acts as a replaceable
  31. parameter. You must use two percent signs (one immediately after the
  32. other) to use the % symbol. To do this, you need to enter ALT + 37
  33. twice.
  34.  
  35. ALT + 47 displays the '/' forwardslash.
  36.  
  37. The forwardslash will not work with CHOICE.
  38.  
  39. ALT + 60 displays the '<' symbol.
  40.  
  41. This represents a redirector and does not work with the CHOICE
  42. command.
  43.  
  44. ALT + 62 displays the '>' symbol.
  45.  
  46. This represents a redirector and does not work with the CHOICE
  47. command.
  48.  
  49. ALT + 124 displays the '|' (pipe) symbol.
  50.  
  51. This represents the MS-DOS pipe and does not work with the CHOICE
  52. command.
  53.  
  54. ALT + 127 represents the delete key.
  55.  
  56. This does not work with the CHOICE command.
  57.  
  58. ALT + 255 represents the spacebar key.
  59.  
  60. This works if you enter ALT + 255. This does not work if you press the
  61. spacebar key.
  62.  
  63. If you use the extended characters between 128 and 165, you should use
  64. the /S switch to treat choice keys at case sensitive.
  65.  
  66. Additional reference words: 6.0
  67.