Would have to agree with Les.

From the 4.52 manual.

Quote:

@LOGONMODE If 1, indicates that KiXtart assumes to be running during the logon sequence




I suppose one would have to assume that if it is blank that it was not in LOGON MODE capacity.
Code:

'KiX version: ' + @KiX ?
'Logon mode: ' + @LogonMode ?
'Error code: ' + @ERROR + ' - ' + @SERROR ?



It would be nice though if it did return another code for NOT being in LogonMode.