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

From SoftMC-Wiki
Jump to: navigation, search
m
(define)
 
Line 1: Line 1:
{{Languages}}
+
{{Languages|MC-Basic:SYSTEM.HOSTDOUBLE}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 15: Line 15:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
<!-- Read value of a Double variable in DPRAM written by the host.-->
+
<!-- Read value of a Double variable in DPRAM written by the host.
There are 128 general purpose Double variables available for use by the host in order to communicate information quickly to the softMC.
+
There are 128 general purpose Double variables available for use by the host in order to communicate information quickly to the softMC.-->
 +
Double precision floating point (64-bits) container and signed long (32-bit) container are supported. <br>
 +
Container shall carry only data of the same type. Type of data is specified in the header. <br>
 +
Server (softMC) will compare a checksum and do some minimum validity check of start index and data length.
 +
 
  
 
|TYPE=
 
|TYPE=

Latest revision as of 09:32, 12 June 2017

Language: English  • 中文(简体)‎

Double precision floating point (64-bits) container and signed long (32-bit) container are supported.
Container shall carry only data of the same type. Type of data is specified in the header.
Server (softMC) will compare a checksum and do some minimum validity check of start index and data length.

Short form

Sys.Hdoub

System.Hdoub

Syntax

?Sys.HostDouble[<index>]

?System.HostDouble[<index>]

Availability

All versions

Type

Double

Range

0 to 128

Default

0

Scope

Task or Terminal

Limitations

  • Read only

Examples

val1 = System.HostDouble[12]

See Also