Chapter Contents

Previous

Next
PICOPEN

PICOPEN



Initializes the graphics environment

Category: Image


Syntax
Details
Example

Syntax

graphenv-id=PICOPEN(pane-number);

graphenv-id
contains the identifier for the graphics environment:
0 indicates that an error condition occurred.
>0 is the graphics environment identifier for use in other PIC functions.

Type: Numeric

pane-number
is the number of the pane to contain the graphics environment:
1 the main portion of a SAS/AF window, or the first screen in an FSEDIT window.
2 the extended table portion of a SAS/AF window, or the second screen in an FSEDIT window.
n the nth screen in an FSEDIT window.

Type: Numeric


Details

The PICOPEN function initializes the graphics environment within a window. Panes are the physical areas of the screen in which text can be displayed. In SAS/AF software, there can be two panes per window, numbered 1 and 2. An FSEDIT window can have up to 101 screens.

A graphic environment must be opened for each pane in which an image or a graph is to be displayed.


Example

Initialize the graphics environment in the main portion of the FSEDIT window:

fseinit:
   graphenv_id=picopen(1);
return;


Chapter Contents

Previous

Next

Top of Page

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