Clipboard Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Clipboard Commands > Store/Restore >

Clipboard Commands

CLB.Swap Text Store

Previous Top Next


MiniRobotLanguage (MRL)

 

CLB.Swap Text Store

Swap two internally stored Text-Memory-Banks.

 

 

Intention

 

Currently the SPR can store up to 10  Clipboard-Texts directly from the clipboard into 10 memory banks.

These are numbered from 0 to 9.

This command can exchange the content of two of these stored memory banks, if you give a number in P1 and P2 a number.

If you give no number for P2, then P2 is "0" by default..

 

Please note that the memory banks that are used to store the images are not in concurrence to those that store texts.

So you can store a text on memory bank 0 and additionally store an image on memory bank 0. These are different banks.

 

Syntax

 

 

CLB.Swap Text Store|P1[|P2]

 

Parameter Explanation

 

P1 - Variable containing a number or number from 0 to 9. This is the number of the first memory bank that is to be exchanged.

 

P2 - (optional) Variable containing a number or number from 0 to 9. This is the number of the second memory bank that is to be exchanged.
          If omitted the default for P2 is "0"

 

 

 

 

 

Example

 

'***********************************

' CLB.-Sample

'***********************************

CLB.Reset

 

CLB.Restore Text|2

CLB.Show Ansi

 

CLB.Restore Text|1

CLB.Show Unicode

 

CLB.Clear Text Store|2

CLB.Reset

 

' Will not work because no more Text there

CLB.Restore Text|2

CLB.Show ANSI

 

ENR.

 

 

 

 

 

Remarks

 

-

 

 

Limitations:

 

-

 

 

See also: