Xbasic
SESSION_VARIABLES Function
Syntax
as P = SESSION_VARIABLES([N SESSION])
Arguments
- SESSION
Numeric
Description
Gets a sessions variable frame.
Discussion
The SESSION_VARIABLES() function returns a pointer to the collection of session (or shared) variables. Session variables are declared at the form or browse level, and are available as long as the form/browse and its sister browse/form (displayed by pressing F8) remain loaded.
dim ptr as P
dim var as P
dim s as N
ptr = form.load("Customer Information")
s = ptr.SessionHandle()
var = session_variables(s)
? var.A_DB_CURRENT_PATH -> "c:\databases\expressions test\"See Also
