Clipboard Commands

<< Click to Display Table of Contents >>

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

Clipboard Commands

CLB.Restore Image

Previous Top Next


MiniRobotLanguage (MRL)

 

CLB.Restore Image

Restore Image  from Memory to  Clipboard

 

 

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 take an image that is currently stored in one of the 10 internal memory banks and will copy it back into the clipboard overwriting any image that may be in the clipboard at this time.

 

 

 

Syntax

 

 

CLB.Restore Image[|P1]

 

Parameter Explanation

 

P1 - (optional) Is the Number of the used Memory Bank where the Clipboard is been restored from.
                           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: