22.05.2014 Views

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CALL GDOPEN(3)<br />

CALL GDRAWC(’ALEF’,2,5.,10.,10.,0.013,0.013)<br />

CALL GDCLOS<br />

CALL GDSHOW(3)<br />

.<br />

.<br />

CALL GDXYZ(0)<br />

Figure 17: Example of use of view banks<br />

CALL GDELET<br />

(IVIEW)<br />

IVIEW<br />

(INTEGER) view bank number (IVIEW>0).<br />

Deletes a view bank from memory. If called before a bank has been closed, GDELET will also restore the<br />

screen mode.<br />

Note: the JDRAW data structure has a top level bank which contains one word for each view bank in<br />

Q(JDRAW+IVIEW). This word is a key which determines the status of the bank. If this key is 3, the bank<br />

itself is protected against deletion, and it cannot be deleted by GDELET. An example of use of view banks is<br />

shown in Fig. 17.<br />

DRAW300 – 2 93

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!