Next: , Previous: , Up: Keywords   [Index]


6.2.46 SortAreas

Syntax:

SortAreas criteria

Example:

SortAreas GND

Normally, MsgEd TE displays all message areas in the order in that they have been defined in the configuration file and/or in the area files.

With the SortAreas keyword, you can instruct MsgEd TE to sort the areas by certain criteria. The criteria parameter is a string that consists of letters each specifying a sort criterium. The leftmost letter is the most significant. The following letters can be used to define sorting criteria:

N

Sort netmail areas on top, then local areas, then echomail areas.

T

Sort by area tag.

D

Sort by area description.

G

Sort by group.

The meanings of ‘D’ and ‘T’ may vary depending on which area file you imported the area from. T is the true area tag, while D is what you actually see on screen. You will usually wish to use D, because ordering by what you see seems to be more logical than ordering by what you don’t see.

The ‘G’ criterium works on MsgEd TE area groups. An area can belong to a group either because you used the Group statement to add it to a group, or because the group setting has been imported from a tosser configuration file. When areas are sorted by group, those areas that do not belong to any group will come first, followed by the members of the group that has been defined first, then those of the group that has been defined after that one, and so on.

Please note that the arealist feature of displaying Group separators can of course only work if the ‘G’ ciretrium is the first criterium in your SortAreas statement.


Next: , Previous: , Up: Keywords   [Index]