Difference between revisions of "MC-Basic:SYSTEM.MCINTEGER"
m (Text replace - "''<index>''" to "<''index''>") |
m |
||
Line 14: | Line 14: | ||
|DESCRIPTION= | |DESCRIPTION= | ||
This property is used to write or read the value of an integer variable written by the MC to the DPRAM. There are 8 general purpose integer variables available for use by the MC in order to communicate information quickly to the host. | This property is used to write or read the value of an integer variable written by the MC to the DPRAM. There are 8 general purpose integer variables available for use by the MC in order to communicate information quickly to the host. | ||
− | |||
− | |||
|TYPE= | |TYPE= | ||
Line 34: | Line 32: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
− | + | *Read only | |
|EXAMPLE= | |EXAMPLE= |
Revision as of 11:40, 26 March 2014
This property is used to write or read the value of an integer variable written by the MC to the DPRAM. There are 8 general purpose integer variables available for use by the MC in order to communicate information quickly to the host.
Short form
Sys.MCInt
System.MCInt
Syntax
Sys.MCInteger[<index>] = <value>
System.MCInteger[<index>] = <value>
Availability
All versions
Type
Long
Range
MinLong to MaxLong
<index>: integer 1 to 8
Default
0 (value of the DPRAM variable)
Scope
Task or Terminal
Limitations
- Read only
Examples
System.MCInteger[2] = MyVar
?System.MCInteger[2]