Global Variables

The following global variables are declared as extern in dp4capi.h and can be used in all DP4 C programs:

abort_code
app_nr_system
app_rw_access
app_server_name
app_start_date
app_start_time
app_tailc, app_tailv
_broken, broken
changed
choose_any_option
clearfirst
data_flags
db_generation
db_is_open
db_name
db_nr
db_open_flags
depth
df_libtype
df_process
fail_code
input_field
input_map
jump
locked
mallocx_handler
map_db_nr
map_name
menu_flags
os_number
page_depth
page_width
pk_chosen_field
pk_more_choices
pk_range
pr_device
pr_err_mode
pr_filename
print_error
pr_line
pr_page
pr_started
pr_streams
pr_sub_device
range
realpass
rmk_flags
selected
scrnd_flags
scrn_flags
showd_flags
show_flags
there

There are a few other global variables, either declared in other header files, or intended for internal use only. See Other Global Variables for further information.

Note
The names of some System Variables were changed with effect from v 4.500. For a table of the name changes see Appendix 1