Xbasic
FILE.WATCH_ENUMERATE Function
Syntax
Watch_List as C = FILE.Watch_Enumerate([C Format])
Arguments
- FormatCharacter
Defines how the list should be formatted.
Returns
- Watch_ListCharacter
Returns the list of files being watched.
Description
Enumerate all file watches - format F=File/Path, N=Watch Name O=Option Flags.
Discussion
The FILE.WATCH_ENUMERATE() method lists the "watches" set by the FILE.WATCH_CREATE() method.
Example
FILE.watch_create("temp_dir", "c:\temp", "F", "my_alert_function()") ? FILE.watch_enumerate() = temp_dir c:\temp F FILE.watch_destroy("temp_dir")
See Also