Difference between revisions of "MC-Basic:PRINTTOBUFF"

From SoftMC-Wiki
Jump to: navigation, search
(PrintToBuff command)
 
m (Removed references)
Line 36: Line 36:
 
* [[MC-Basic:PRINT|PRINT]]
 
* [[MC-Basic:PRINT|PRINT]]
 
* [[MC-Basic:PRINT HASH|PRINT HASH]]
 
* [[MC-Basic:PRINT HASH|PRINT HASH]]
* [[MC-Basic:PRINTUSING|PRINTUSING]]
 
* [[MC-Basic:PRINTUSING hash-sign|PRINTUSING hash-sign]]
 
 
* [[MC-Basic:OPEN|OPEN]]
 
* [[MC-Basic:OPEN|OPEN]]
 
* [[MC-Basic:CLOSE|CLOSE]]
 
* [[MC-Basic:CLOSE|CLOSE]]
* [[MC-Basic:INPUT$|INPUT$]]
 
* [[MC-Basic:LOC|LOC]]
 
  
 
[[Category:MC-Basic:File Management|PRINTTOBUFF]]
 
[[Category:MC-Basic:File Management|PRINTTOBUFF]]
  
 
}}
 
}}

Revision as of 12:19, 10 August 2020

Multiple expressions are printed to a buffer, 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

PRINTTOBUFF #<DeviceHandle>, [Expression] {, ;[Expression]} {SEND = TRUE or FALSE}

Availability

All versions

Type

<DeviceHandle>: Long
<expression>: Long, Double, String, Joint or Location

Range

<DeviceHandle>: 1 to 255
<Send>: TRUE or FALSE

Scope

Configuration, Task or Terminal

Limitations

Read only

Examples

PrintToBuff #1, Nm$, Dept$, Level, Age
PrintToBuff #1, Nm$, Dept$, Level, Age Send = True

See Also