MC-Basic:SYSTEM.HOSTINTEGER

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

Read the value of a Long variable in DPRAM written by the host. There are 16 general purpose Long variables available for use by the host in order to communicate information quickly to the MC.

Short form

Sys.Hint

System.Hint

Syntax

?Sys.HostInteger[<index>]

?System.HostInteger[<index>]

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

val1 = System.HostInteger[12]