There is a simple way to determine if a process is a phantom by using @TTY. I pasted information from the UniVerse Basic manual:
@TTY - Terminal device name. If the process is a phantom, @TTY returns the value 'phantom'. If the process is a UniVerse API, it returns 'uvcs'. Therefore this code would work: If @TTY='phantom' OR @TTY='uvcs' THEN USER.IS.PHANTOM=1 ELSE USER.IS.PHANTOM=0 I hope this helps! Tom ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
