MC-Basic:SYSTEM.MCINTEGER

From SoftMC-Wiki
Revision as of 16:01, 13 December 2010 by Arwiebe (talk | contribs) (Created page with '{{MC-Basic |SHORT FORM= Sys.MCInt<br> System.MCInt |SYNTAX= Sys.MCInteger[''<index>''] = ''<value><br> ''System.MCInteger[''<index>''] = ''<value>'' |AVAILABILITY= All versio…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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]