Chapter Contents |
Previous |
Next |
DIALOG |
Category: | Modular Programming |
Syntax | |
Details | |
See Also |
Syntax |
CALL DIALOG(entry<,parameters>) |
Type: Character
Note: These parameters are update parameters. See Input, Output, and Update Parameters for more
information.
Type: Numeric, Character
Details |
DIALOG runs a FRAME entry, makes it the active entry, and disables all other windows. When the called entry is exited, control returns to the calling program. With the exception of disabling all other windows, DIALOG is similar to DISPLAY.
Note: From the window created with the
CALL DIALOG routine, you cannot execute a SUBMIT statement with the CONTINUE
option. See Controlling What Happens After a Submit Block Executes.
DIALOG can pass parameters through the ENTRY statement to the
called Frame entry. Parameters can be numeric constants, character constants,
variables, expressions, and array variables.
Using DIALOG without any options in the associated ENTRY statement requires a strict correspondence between DIALOG parameters and ENTRY statement arguments. The arguments and parameters must agree in number, data type, and relative position. If you pass an incorrect number of parameters or a parameter of the incorrect type, SCL halts the execution of the program. The argument-parameter correspondence is less restrictive when you use the options REST=, ARGLIST=, and OPTIONAL= in the ENTRY statement.
Names listed in parameter do not have to match the argument names in the ENTRY statement.
Parameters are passed in the following ways:
array employee{50}; call dialog('b.frame',var1,name,num,employee{1});
call dialog('b.frame',100,'hello',x+y);
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.