從環境中獲取價值

出自 ArcoWiki
於 2018年6月7日 (四) 07:33 由 Slia (對話 | 貢獻) 所做的修訂 (创建页面,内容为“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…”)
(差異) ←上個修訂 | 最新修訂 (差異) | 下個修訂→ (差異)
前往: 導覽搜尋

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