Image/Pixel-Color Operations

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Image/Pixel-Color Operations > ANA. - Imageworks > Manage IR's >

Image/Pixel-Color Operations

ANA.Move - Move IR to IR

Previous Top Next


MiniRobotLanguage (MRL)

 

ANA.Move

Move Image Register (IR) to another Image-Register (IR), deleting Source IR

 

Intention

 

This command will move the Content of an Image Register to another Image Register and then delete the original IR Content.

The destination Image Register can be empty or not.

In case there is another picture in the destination IR, this will be overwritten. The Source IR will be cleared.

 

STW.ct|#32770|Basic-NAV Matrix 02

' We snap into the IR 2 here

ANA.Snap|2

' Move IR 2 into IR 1

ANA.Move|2|1

' Display IR 1

ANA.Show|1!

ENR.

 

 

Syntax

 

ANA.Move|P1|P2

 

Parameter Explanation

 

P1 - Source Image-Register Number

P2 - Dest Image-Register Number

 

The Command will leave a 0/1 on the TOS. As always, a 0 means Error, while a 1 means "all fine".

 

Example

 

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

' ANA.Move-Sample

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

STW.ct|Progman|Program Manager

ANA.Snap|0

ANA.Move|0|1

ANA.BlockTo|1|1|4

ANA.show|1!

ENR.

 

' Below you can see a part of the result of the Operation.

' We used it here to have a content that can be moved.

 

ANA_Blockto

 

 

 

 

Remarks

 

-

 

 

 

Limitations:

 

-

 

 

See also: