next previous up contents index
Next: DELETE Previous: COPY Up: The Commands in Detail


COUNT num1 [num2]
COU

The command COUNT counts the number of records in the workfile. The parameters mark the borders of the area, in which the records should be counted. The two records on the border are counted as well.

The record number(s) may be entered without leading zeros. Record numbers may be symbolic ones as well:

If you call COUNT with only one parameter, exaEdit completes the command and assumes the record of the current line as second parameter.

As a result, exaEdit writes the number found in the dialogue zone. If the number of the first record is greater than the number of the second one, the result is marked as being negative with a minus sign in front of it.

The result of the count is written into the parameter variable &Count.


next previous up contents index
Next: DELETE Previous: COPY Up: The Commands in Detail