Difference between revisions of "MC-Basic:SYSTEM.MCINTEGER"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "<value>" to "<''value''>")
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:SYSTEM.MCINTEGER}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 6: Line 7:
  
 
|SYNTAX=
 
|SYNTAX=
Sys.MCInteger[''<index>''] = ''<''value''><br>
+
Sys.MCInteger[<''index''>] = ''<''value''><br>
''System.MCInteger[''<index>''] = <''value''>
+
''System.MCInteger[<''index''>] = <''value''>
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 14: Line 15:
 
|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.
 
{{Note/Important| '''THIS PROPERTY IS OBSOLETE'''}}
 
  
 
|TYPE=
 
|TYPE=
Line 22: Line 21:
 
|RANGE=
 
|RANGE=
 
MinLong to MaxLong<br>
 
MinLong to MaxLong<br>
''<index>'': integer 1 to   8
+
<''index''>: integer 1 to   8
  
 
|UNITS=
 
|UNITS=
Line 43: Line 42:
 
|SEE ALSO=
 
|SEE ALSO=
  
[[Category:Axystems:Obsolete|SYSTEM.MCINTEGER]]
+
[[Category:Obsolete|SYSTEM.MCINTEGER]]
 +
[[Category:MC-Basic:System|MC-Basic:System]]
 
}}
 
}}

Latest revision as of 06:08, 2 May 2017

Language: English  • 中文(简体)‎

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

Examples

System.MCInteger[2] = MyVar

?System.MCInteger[2]

See Also