Chapter Contents

Previous

Next
ENDBLOCK

ENDBLOCK



Closes the window that is created by the BLOCK function

Category: Window


Syntax
Example
See Also

Syntax

CALL ENDBLOCK();


Example

Create a menu that contains four choices. The first row of blocks contains two blocks with the labels Outline and Index. The second row contains two blocks with the labels Compare Files and Calendar. No third row of blocks is displayed. The memory that was used in displaying the menu is freed when the ENDBLOCK routine is executed and the window is closed.

INIT:
   choice=block('Writers Toolbox','Main Menu',6,
         'Outline','Index','','',
         'Compare Files','Calendar','','',
         '','','','');
   ...more SCL statements...
return;
MAIN:
   ...more SCL statements...
return;

TERM:
   call endblock();
return;

See Also

BLOCK


Chapter Contents

Previous

Next

Top of Page

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