acl_program_script_menu_c
status.i4.v = acl_program_script_menu_c(top_row.i4.v, left_column.i4.v,
program.i1a.r, list.i4.v,
title.i1a.r, execute_it.i4.v,
script_name.i1a.r
[,options.u4.v])
This routine displays a menu of ACL scripts associated with a program
with an option to execute the selected script.
top_row top row of menu
left_column left column of menu
program null terminated program name
list list number (usually 0)
title null terminated window title (If a value of NULL is
passed for this argument, no title will be displayed.)
execute_it flag indicating whether or not to execute the
selected script
(TRUE -> execute the script,
FALSE -> don't execute the script)
script_name returned null terminated script name
(ACL_PROGRAM_SCRIPT_SCRIPT_NAME_LENGTH + 1 characters)
[options] options
(ACL_OPT_NONE -> no options selected (default))
This function returns status values as follows:
OK success
CLIB_MEMFAIL failed to allocate dynamic memory
CLIB_ABORT user abort (no file selected)
CLIB_NO_SUCH no directory entries found
SQL_xxx database access error
This function requires the following include files:
ul_acl_h:acl_h, acnet_errors_h
Related functions:
intro_acl, acl_add_program_script_menu_entry_c,
acl_set_program_script_path, acl_execute_c, acl_file_execute_c,
acl_file_read_c, acl_file_write_c, acl_read_symbol_c,
acl_read_symbol_info_c, acl_read_symbol_names, acl_info_c,
acl_delete_symbol, acl_file_edit_c
C/C++ usage:
static const char program[] = "PA0052";
static const char title[] = "Title";
char script_name[ACL_PROGRAM_SCRIPT_SCRIPT_NAME_LENGTH+1];
int status;
int top_row = WMNGR_CENTER;
int left_column = WMNGR_CENTER;
int list = 0;
unsigned int options = ACL_OPT_NONE;
status = acl_program_script_menu_c(top_row,left_column,program,list,
title,execute_it,script_name,
options);