PRODUCT : Brief NUMBER : 1048 VERSION : 3.x OS : DOS DATE : October 19, 1993 PAGE : 1/1 TITLE : Disabling sorting of filenames in Brief. This document explains how to enable and disable the sorting of filenames in a directory listing from within Brief. Pressing ALT-E will show a prompt at the bottom of the screen asking for a filename. Pressing the tab key at this prompt will display a dialog box showing a list of files. This listing is usually in alphabetical order. There is a variable in the PROMPT.CB macro called MAX_SORT_SECONDS that is defined as shown below: #define MAX_SORT_SECONDS 3 The number indicates how long sorting of the filenames will proceed before sorting is aborted. After the sort is aborted, the files will be listed as they were found. In the above example, sorting would occur for up to three seconds and then sorting will be stopped. If no sorting is desired, set the value to 0. If this value is changed, the macro will need to be recompiled. Given the size of the file, itt may be necessary to compile from the dos prompt due to insufficient memory conditions. DISCLAIMER: You have the right to use this technical information subject to the terms of the No-Nonsense License Statement that you received with the Borland product to which this information pertains.