Chapter Contents

Previous

Next
SELECT

SELECT


Selects the image identifier to be used in other commands


Syntax
Details
Example

Syntax

rc=IMGOP(task-id,'SELECT'<,image-id>);

image-id
contains the identifier of the image to select. The default is 1. The image-id variable must be a number between 1 and 999, inclusive. Using lower sequential numbers (under 32) is more efficient.

Type: Numeric


Details

The main purpose of the SELECT command is to enable you to work with more than one image. The command specifies the image identifier to be used in all subsequent commands until another SELECT command is issued.

Only the COPY, DESTROY, and UNPASTE commands can act on either the currently selected image or on a specified image identifier.


Example

Display two images at once:


rc=imgop(task-id,'SELECT',1);
rc=imgop(task-id,'READ_PASTE',1,1,path1);
rc=imgop(task-id,'SELECT',2);
rc=imgop(task-id,'READ_PASTE',200,200,path2);


Chapter Contents

Previous

Next

Top of Page

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.