Difference between revisions of "GetClipboard"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function GetClipboard: AnsiString; </source> ==Availability== SCAR Divi 3.25 > Current ==Description== This function gets the ...")
 
 
Line 1: Line 1:
 
==Definition==
 
==Definition==
 
<source lang="scar" lines="false">
 
<source lang="scar" lines="false">
function GetClipboard: AnsiString;
+
function GetClipboard: string;
 
</source>
 
</source>
  
Line 8: Line 8:
  
 
==Description==
 
==Description==
This function gets the content from the clipboard and if it's a [[AnsiString|string]], returns it.
+
This function gets the content from the clipboard and if it's a [[string]], returns it.
  
 
==Example==
 
==Example==

Latest revision as of 16:05, 4 April 2012

Definition

function GetClipboard: string;

Availability

SCAR Divi 3.25 > Current

Description

This function gets the content from the clipboard and if it's a string, returns it.

Example

begin
  SetClipboard('Test');
  WriteLn(GetClipboard);
end.

See Also