DECLARE (BASIC Procedure) Statement Programming Example DECL_EX.BAS is a program file in the subdirectory ADVR_EX that illustrates the DECLARE statement for BASIC procedures. To look at the program in the View window and, optionally, to run it, load the program using the File menu's Open Program command. In the program, use of the DECLARE statement allows a SUB to be invoked without using the CALL keyword.