Session$: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
SESSION$
The '''Session$ ''' [[internal function]] returns [[WSID$]] (three or four digits) and a one digit session identifier number (1-9) to stipulate which among the 9 possible sessions a particular instance of [[Business Rules!]] is.
The '''Session$ ''' [[internal function]] returns [[WSID$]] (three or four digits) and a one digit session identifier number (1-9) to stipulate which among the 9 possible sessions a particular instance of [[Business Rules!]] is.


====Exapmles====
====Examples====


If you have two sessions of BR open and execute the following command in both of them:
If you have two sessions of BR open and execute the following command in both of them:
Line 7: Line 9:
  print session$
  print session$


then the output will be 011 in the first session and 012 in the second.
then the output will most likely be 011 in the first session and 012 in the second.


<noinclude>
<noinclude>
[[Category:Internal Functions]]
[[Category:Internal Functions]]
</noinclude>
</noinclude>

Latest revision as of 03:07, 22 May 2014

SESSION$

The Session$ internal function returns WSID$ (three or four digits) and a one digit session identifier number (1-9) to stipulate which among the 9 possible sessions a particular instance of Business Rules! is.

Examples

If you have two sessions of BR open and execute the following command in both of them:

print session$

then the output will most likely be 011 in the first session and 012 in the second.