Difference between revisions of "Get Values from Environment"

From ArcoWiki
Jump to: navigation, search
(Created page with "The command <code>Value/</code> allow to '''Get Values from Environment'''. This function can return different data types, so the result must be assigned to a previously decla...")
 
Line 1: Line 1:
The command <code>Value/</code> allow to '''Get Values from Environment'''.
+
The command <code>Value/</code> allow to '''[[Get Values from Environment]]'''.<br/>
 
This function can return different data types, so the result must be assigned to a previously declared [[variable]] of a proper type.
 
This function can return different data types, so the result must be assigned to a previously declared [[variable]] of a proper type.
 
Please refer to the [[DMIS]] manual in order to get the full list of commands.
 
Please refer to the [[DMIS]] manual in order to get the full list of commands.

Revision as of 14:53, 3 August 2016

The command Value/ allow to Get Values from Environment.
This function can return different data types, so the result must be assigned to a previously declared variable of a proper type. Please refer to the DMIS manual in order to get the full list of commands.


$$ Example of the Value command
$$ Declaration of the variable

DECL/DOUBLE,act_search

$$ Assignment to the declared variable of the different type value

act_search=VALUE/SNSET,SEARCH

$$ In this case the function returns the current specified sensor setting
$$ and the search distance