Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.00

Description

Description:

Copy the text to the Windows clipboard (used in copy and paste operations).

If the text contains line feeds ("\n"), then these are copied as plain text, and have to be converted into actual line feeds in the receiving application. Or, alternatively, any places in the text where line breaks are needed have to contain the ASCII values of 13 and 10 (CR and LF).

Syntax

Syntax:copyToClipboard text
Parameters:
  • text: -
Return Value:Nothing

Examples

Examples:
copyToClipboard str allUnits // Might return "[soldier1,C 1-1-A-1:1 (Joe)]"
copyToClipboard ( "line 1" + toString[13,10] + "line 2")

Additional Information

See also: copyFromClipboard
Multiplayer: 
Problems: 

Notes