home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / mr_ed.zip / MR_ED.HLP < prev   
Text File  |  1993-07-21  |  4KB  |  83 lines

  1. %general
  2. Mr. Ed is a disk-based text editor that can handle ASCII
  3. files of any size.  The only operation that could be re-
  4. stricted by memory limitations is when sorting.  Mr. Ed
  5. can only sort files up to 65,535 lines in length.
  6. %justify
  7. Choosing Justify will prompt you to enter a column index,
  8. column width, and direction.  All text beginning at the
  9. column index through the column width will be shifted in
  10. the direction indicated.
  11. %deletecols
  12. Choosing Delete Column will prompt you to enter a column
  13. index and number of columns to delete from the file.  All
  14. text in these columns will be deleted and the columns to
  15. the right will be shifted left.
  16. %insertcols
  17. Choosing Insert Column will prompt you to enter a  column
  18. index and number of columns to insert.  Blank columns will
  19. be inserted into the file with columns to the right of the
  20. index shifted right.
  21. %global
  22. Choosing Global Search and Replace will prompt you to enter
  23. text to search for and text to replace it with.  All text
  24. that matches will be replaced with the replacement text.
  25. This feature is case-sensitive.
  26. %select
  27. Choosing Partial Search and Replace will prompt you to enter
  28. text to search for and text to replace it with and a column
  29. index and width to search within.  This feature is case-
  30. sensitive.
  31. %sort
  32. Choosing Sort will prompt you to enter primary and second-
  33. ary keys on which to sort, and whether the fields should be
  34. sorted in ascending or descending order.  If a secondary
  35. key is not needed than these fields can be left blank.  
  36. Each key may be sorted as dates, values, or strings.
  37. %move
  38. The Move procedure will prompt for a column index and width 
  39. of text to be moved, and the destination column.  Text to 
  40. right of the moved text is shifted left to fill the result-
  41. ing "hole" in the line.  Any lines shorter than the destin-
  42. ation index will be padded with blanks before the text is
  43. moved.
  44. %evaluate
  45. The Evaluate procedure is designed to allow for global ev-
  46. aluation of a column which contains a numeric value with a 
  47. user-defined expression and replacement of that value with 
  48. the resulting value.  The user is prompted for a column in-
  49. dex,width and an expression.  The expression can include 
  50. the usual mathematical operators as well as the following 
  51. functions:
  52. Press any key for more help.....
  53. %evaluate2
  54. @round,@fac,@sin,@abs,@sqrt,@arctan,@tan,@sqr,@cos,
  55. @trunc,@if and @random.  Functions are used in the expres-
  56. sion just as their numeric equivalents would be.  Arguments 
  57. are enclosed in paretheses and any number of sub-expres-
  58. sions is allowed.  Reference the original column value with 
  59. the word VAL.  Other columns may be referenced with the 
  60. function @mid(column,width).  @IF expressions are evaluated
  61. Press any key for more help....
  62. %evaluate3
  63. as @IF(condition,true,false) where "condition" is an ex-
  64. pression containing one of the operators <,>,= surrounded
  65. by two expressions which may contain all functions or op-
  66. mathematical operators.  If the condition is evaluated as
  67. true then the function evaluates to the value contained in
  68. the "true" argument otherwise the @IF functions evaluates
  69. to the value contained in the "false" argument.  The "true"
  70. %evaluate4
  71. and "false" arguments may also contain expressions.
  72. There is one string function available: @len(index,count).
  73. The length of the substring referenced by index through
  74. count not including blanks will be substituted for this
  75. function.  All other functions and references must contain
  76. numeric values or expressions that evaluate to numeric val-
  77. ues.
  78. Example expression:  VAL+2*@IF(@ROUND(@MID(4,1))>3,3,1)
  79. %
  80.  
  81.  
  82.                                                   
  83.