Previous Page | Next Page

SAS Component Language Dictionary

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

Previous Page | Next Page | Top of Page