This command can be used to return the name of the current template, row label, user message, type of the current data entry session, installed GainSeeker version, and name of the current data entry session. It can also return some of the User-Defined Labels from the current configuration.
Syntax
MISC_INFO type_number
Valid options for the type_number parameter are:
type_number |
explanation |
||||||||
0 |
the name of the current template (even when running a planned session or stored session) |
||||||||
1 |
the name of the current Row label |
||||||||
2 |
The User message for the current cell. If the User message is blank, this command returns an empty string (not the Default message for this cell). |
||||||||
3 |
the type of data entry session that is currently being run:
|
||||||||
4 |
the name of the template, planned session or stored session currently being run |
||||||||
the Control label from the current configuration |
|||||||||
6 |
the Gate label from the current configuration |
||||||||
7 |
the Individual limit label from the current configuration |
||||||||
8 |
the Spec label from the current configuration |
||||||||
9 |
the type of Windows session that is currently being run:
|
||||||||
the number of the current configuration |
|||||||||
11 |
the name of the current configuration |
||||||||
the current cell of execution in the template. Example of what it returns: [G1] This especially useful with the external button to execute commands and return to the previous location in the template. |
|||||||||
the current version of GainSeeker that is installed, returned as a string (3.2.0, for example). |
|||||||||
101-148 |
the traceability labels in order from 1-48. Add 100 to the value. For example, for the traceability label 32, you would use 132. |
Return value
This command returns a string.
Example
MISC_INFO 0
When running a template named "Data entry for 4 features", or when running a Planned Session or Stored session based on this template, this formula returns the string "Data entry for 4 features".
MISC_INFO 103
This returns the label for the third traceability field.
Svar 1 = MISC_INFO 3 : Svar 2 = MISC_INFO 4
When running a planned session named "A-50RB, 4 features", this formula will set the value of Svar 1 to "P" and the value of Svar 2 to "A-50RB, 4 features".