EXPIRE
Jump to navigation
Jump to search
![]() |
![]() |
![]() |
![]() |
Description
- The Expire statement ends the current program and Run BASIC session.
Syntax
- EXPIRE [urlExpr$] - Expire the current program and session. Optionally redirect to urlExpr$.
Hints
- If there is no url for redirection, the log in page appears.
Example
This code simply causes the session to expire:
EXPIRE
This code includes a link to activate the Expire statement.
link #quit, "End Session", [quit] wait [quit] expire
This code includes a link to activate the Expire statement and redirects the browser to the Shoptalk System Run BASIC web site.
link #quit, "End Session", [quit] wait [quit] expire "http://runbasic.com"
Useful Procedures
' Place a useful function or sub using this keyword here