Difference between revisions of "MC-Basic:SYSTEM.HOSTDOUBLE"
(define) |
|||
| (One intermediate revision by the same user not shown) | |||
| 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. There are | + | <!-- 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.--> | ||
| + | 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= | ||
| Line 21: | Line 26: | ||
|RANGE= | |RANGE= | ||
| − | 0 to ± MaxDouble<br> | + | 0 to 128 <!-- ± MaxDouble --> <br> |
| − | <''index''>: integer 1 to 8 | + | <!-- <''index''>: integer 1 to 8 --> |
|UNITS= | |UNITS= | ||
| Line 28: | Line 33: | ||
|DEFAULT= | |DEFAULT= | ||
| − | 0 | + | 0 |
| + | <!-- value of the DPRAM variable --> | ||
|SCOPE= | |SCOPE= | ||
| Line 35: | Line 41: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
*Read only | *Read only | ||
| − | + | ||
|EXAMPLE= | |EXAMPLE= | ||
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]