Returns the name of the window calling the WIL Interpreter.
WinName ( )
(none)
(s) window name.
Returns the name of the window making the current call to the WIL Interpreter.
allwins = WinItemize( ) win = AskItemlist("Close window", allwins, @TAB, @SORTED, @SINGLE, @FALSE) If win == WinName( ) Message("Sorry", "I can't close myself") Else WinClose(win) EndIf Exit