Difference between revisions of "MC-Basic:SYSTEM.MCDOUBLE"
m (Text replace - "<value>" to "<''value''>") |
m (Text replace - "''<index>''" to "<''index''>") |
||
Line 6: | Line 6: | ||
|SYNTAX= | |SYNTAX= | ||
− | Sys.MCDouble['' | + | Sys.MCDouble[<''index''>] ='' <''value''>''<br> |
− | System.MCDouble['' | + | System.MCDouble[<''index''>] ='' <''value''>''<br> |
− | ?Sys.MCDouble['' | + | ?Sys.MCDouble[<''index''>]<br> |
− | ?System.MCDouble['' | + | ?System.MCDouble[<''index''>] |
|AVAILABILITY= | |AVAILABILITY= | ||
Line 27: | Line 27: | ||
|RANGE= | |RANGE= | ||
0 to ± MaxDouble<br> | 0 to ± MaxDouble<br> | ||
− | '' | + | <''index''>: integer 1 to 8. |
|UNITS= | |UNITS= |
Revision as of 11:07, 20 March 2014
This property writes or reads the value of a Double variable written by the MC to the DPRAM. There are eight general purpose Double variables available for use by the MC in order to communicate information quickly to the host.
IMPORTANT | |
THIS PROPERTY IS OBSOLETE |
Short form
Sys.MCDoub
System.MCDoub
Syntax
Sys.MCDouble[<index>] = <value>
System.MCDouble[<index>] = <value>
?Sys.MCDouble[<index>]
?System.MCDouble[<index>]
Availability
All versions
Type
Double
Range
0 to ± MaxDouble
<index>: integer 1 to 8.
Default
0 (value of the DPRAM variable)
Scope
Task or Terminal
Examples
System.MCDouble[2] = sin(pi/4)