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

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Read-Only" to "Read only")
m (Text replace - "''<index>''" to "<''index''>")
Line 8: Line 8:
 
?Sys.HostDouble[<''index''>]<br>
 
?Sys.HostDouble[<''index''>]<br>
  
?System.HostDouble[''<index>'']
+
?System.HostDouble[<''index''>]
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 23: Line 23:
 
|RANGE=
 
|RANGE=
 
0 to ± MaxDouble<br>
 
0 to ± MaxDouble<br>
''<index>'': integer 1 to   8
+
<''index''>: integer 1 to   8
  
 
|UNITS=
 
|UNITS=

Revision as of 11:07, 20 March 2014

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

IMPORTANT.svgIMPORTANT
THIS PROPERTY IS OBSOLETE

Short form

Sys.Hdoub

System.Hdoub

Syntax

?Sys.HostDouble[<index>]

?System.HostDouble[<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

Limitations

Read only

Examples

val1 = System.HostDouble[12]

See Also