Of course the easiest way to tell if you have been invoked while XEDIT is
active, is to issue the "SUBCOM XEDIT" command, for example:
'SUBCOM XEDIT'
xedit = (rc = 0)
If xedit Then
'COMMAND EMSG' ...
Else
Say ...Unfortunately, invoking an Exec from FILELIST will indicate that XEDIT is active, since FILELIST creates an XEDIT environment to display the files. -- Dale R. Smith "Nobody believes the official spokesman ... but everybody trusts an unidentified source." - Ron Nessen
