|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > Clipboard Commands > Store/Restore > Clipboard Commands |
MiniRobotLanguage (MRL)
CLB.Swap Image Store
Swap two internally stored Image-Memory Banks.
Intention
Currently the SPR can store up to 10 Clipboard-Images 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 Image 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 Image|2
CLB.Show Ansi
CLB.Restore Image|1
CLB.Show Unicode
CLB.Clear Image Store|2
CLB.Reset
' Will not work because no more Image there
CLB.Restore Image|2
CLB.Show ANSI
ENR.
Remarks
-
Limitations:
-
See also:
•