axlGetWindowSession
axlGetWindowSession( [w_window] ) =>t_sessionName/ nil
Description
Returns the ADE session associated with a window.
There is a session object associated with each instance of ADE Explorer and ADE Assembler. If you have a session open, you can retrieve that session by using this function.
If you are working in the non-GUI mode, you need to create a new session by using the axlCreateSession function and then associate a setup database with it.
Arguments
Value Returned
Examples
Returns the ADE session of the active window:
axlGetWindowSession()
=> "session0"
axlGetWindowSession( hiGetCurrentWindow())
=>"session0"
Return to top