home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
mr_ed.zip
/
MR_ED.HLP
< prev
Wrap
Text File
|
1993-07-21
|
4KB
|
83 lines
%general
Mr. Ed is a disk-based text editor that can handle ASCII
files of any size. The only operation that could be re-
stricted by memory limitations is when sorting. Mr. Ed
can only sort files up to 65,535 lines in length.
%justify
Choosing Justify will prompt you to enter a column index,
column width, and direction. All text beginning at the
column index through the column width will be shifted in
the direction indicated.
%deletecols
Choosing Delete Column will prompt you to enter a column
index and number of columns to delete from the file. All
text in these columns will be deleted and the columns to
the right will be shifted left.
%insertcols
Choosing Insert Column will prompt you to enter a column
index and number of columns to insert. Blank columns will
be inserted into the file with columns to the right of the
index shifted right.
%global
Choosing Global Search and Replace will prompt you to enter
text to search for and text to replace it with. All text
that matches will be replaced with the replacement text.
This feature is case-sensitive.
%select
Choosing Partial Search and Replace will prompt you to enter
text to search for and text to replace it with and a column
index and width to search within. This feature is case-
sensitive.
%sort
Choosing Sort will prompt you to enter primary and second-
ary keys on which to sort, and whether the fields should be
sorted in ascending or descending order. If a secondary
key is not needed than these fields can be left blank.
Each key may be sorted as dates, values, or strings.
%move
The Move procedure will prompt for a column index and width
of text to be moved, and the destination column. Text to
right of the moved text is shifted left to fill the result-
ing "hole" in the line. Any lines shorter than the destin-
ation index will be padded with blanks before the text is
moved.
%evaluate
The Evaluate procedure is designed to allow for global ev-
aluation of a column which contains a numeric value with a
user-defined expression and replacement of that value with
the resulting value. The user is prompted for a column in-
dex,width and an expression. The expression can include
the usual mathematical operators as well as the following
functions:
Press any key for more help.....
%evaluate2
@round,@fac,@sin,@abs,@sqrt,@arctan,@tan,@sqr,@cos,
@trunc,@if and @random. Functions are used in the expres-
sion just as their numeric equivalents would be. Arguments
are enclosed in paretheses and any number of sub-expres-
sions is allowed. Reference the original column value with
the word VAL. Other columns may be referenced with the
function @mid(column,width). @IF expressions are evaluated
Press any key for more help....
%evaluate3
as @IF(condition,true,false) where "condition" is an ex-
pression containing one of the operators <,>,= surrounded
by two expressions which may contain all functions or op-
mathematical operators. If the condition is evaluated as
true then the function evaluates to the value contained in
the "true" argument otherwise the @IF functions evaluates
to the value contained in the "false" argument. The "true"
%evaluate4
and "false" arguments may also contain expressions.
There is one string function available: @len(index,count).
The length of the substring referenced by index through
count not including blanks will be substituted for this
function. All other functions and references must contain
numeric values or expressions that evaluate to numeric val-
ues.
Example expression: VAL+2*@IF(@ROUND(@MID(4,1))>3,3,1)
%