Declare-Variable-for-Session
Last Update: 2/4/2015
When you declare a variable with a type identifier, such as double, the variable becomes a session variable. For example:
// Variable defined below will be saved with Origin project and not // available when a new project is opened cow = 3; // Variable defined below is available during an Origin session // but not saved with any project double cow = 3;
You can refer to the Scope of Variables section in LabTalk Guide for details.
Keywords:global, project