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

From SoftMC-Wiki
Jump to: navigation, search
m (Miborich moved page Axystems:MC-Basic:SYSTEM.MCDOUBLE to MC-Basic:SYSTEM.MCDOUBLE: Global renaming of Axystems: namespace into (Main):)
Line 46: Line 46:
  
  
[[Category:Axystems:Obsolete|SYSTEM.MCDOUBLE]]
+
[[Category:Obsolete|SYSTEM.MCDOUBLE]]
  
 
}}
 
}}

Revision as of 09:19, 22 May 2014

This property writes or reads the value of a Double variable written by the softMC to the DPRAM. There are eight general purpose Double variables available for use by the softMC in order to communicate information quickly to the host.

Short form

Sys.MCDoub

System.MCDoub

Syntax

Sys.MCDouble[<index>] = <value>

System.MCDouble[<index>] = <value>

?Sys.MCDouble[<index>]

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

Examples

System.MCDouble[2] = sin(pi/4)
?System.MCDouble[2]

See Also