|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > Clipboard Commands > Store/Restore > Clipboard Commands |
MiniRobotLanguage (MRL)
CLB.Store Image
Store the image that is currently in the clipboard in an internal memory bank.
Intention
Currently the SPR can store up to 10 images directly from the clipboard into 10 memory banks.
These are numbered from 0 to 9.
This command will store an image that is currently in the clipboard, into an internal memory bank for later reuse.
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.Store Image[|P1]
Parameter Explanation
P1 - (optional) Is the Number of the used Memory Bank where the Clipboard is been stored.
If omitted, "0"is used.
Example
'***********************************
' CLB.-Sample
'***********************************
ANA.New|0|800|400
ANA.vgradient|0|&HFF00FF|&H000000
ANA.New|2|800|400
ANA.hgradient|2|&H0000FF|&H00FFFF
ANA.Mix|0|2|7
ANA.copy|2|1
ANA.Invert|1
CLB.Bitmap From Image Register|0
CLB.Store Image|0
ANA.Show|0!
CLB.Bitmap From Image Register|1
CLB.Store Image|1
ANA.Show|1!
CLB.Bitmap From Image Register|2
CLB.Store Image|2
ANA.Show|2!
CLB.Reset
CLB.Restore Image|2
CLB.Show Image
CLB.Restore Image|1
CLB.Show Image
CLB.Restore Image|0
CLB.Show Image
CLB.Clear Image Store|2
CLB.Reset
' Will not work because no more Image there
CLB.Restore Image|2
CLB.Show Image
ENR.
Remarks
-
Limitations:
-
See also:
•