Difference between revisions of "MC-Basic:PRINT HASH"
Line 38: | Line 38: | ||
* [[Axystems:MC-Basic:OPEN|OPEN]] | * [[Axystems:MC-Basic:OPEN|OPEN]] | ||
* [[MC-Basic:CLOSE|CLOSE]] | * [[MC-Basic:CLOSE|CLOSE]] | ||
− | * [[ | + | * [[MC-Basic:INPUT$|INPUT$]] |
* [[Axystems:MC-Basic:LOC|LOC]] | * [[Axystems:MC-Basic:LOC|LOC]] | ||
Revision as of 08:38, 22 May 2014
Multiple strings and expressions are printed to a serial port, separated by either a comma or semicolon. The semicolon puts the two expressions next to each other, while the comma puts a tab between them.
Syntax
PRINT #<DeviceHandle>, “<String>” | [Expression] {, | ; “<String>” | [Expression] }
Availability
All versions
Type
<DeviceHandle>: Long
<string>: String
<expression>: Long, Double, String, Joint or Location
Range
<DeviceHandle>: 1 to 255
Scope
Configuration, Task or Terminal
Limitations
Read only
Examples
Print #1, Nm$, Dept$, Level, Age