General Functions

This Chapter consists the descriptions of all functions in the modules smf, bsf, uti and mem.


Module smf

dal_smf_len_scr return row length of the video memory
dal_smf_wid_scr return column width of the video memory
dal_smf_ret_key return current keyboard code
dal_smf_rng_bel ring terminal bell


Module bsf

dal_bsf_chk_int check string for integer conformity
dal_bsf_chk_flo check string for real number conformity
dal_bsf_chk_dat check string for data-time conformity
dal_bsf_fmt_flo format real number string
dal_bsf_fmt_dat convert date string from data base format in mask format and vice versa
dal_bsf_cmp_str compress string (remove spaces)
dal_bsf_cmp_dat compare date value
dal_bsf_upp_cas convert characters of a string to uppercase
dal_bsf_low_cas convert characters of a string to lowercase
dal_bsf_set_dat set date format for mask display


Module uti

dal_uti_get_usr return current account name
dal_uti_run_com execute spawn on operation system level
dal_uti_get_dat return current date in English format
dal_uti_get_tim return current time
dal_uti_get_day_tim return current date and current time
dal_uti_get_sec return current UNIX time
dal_uti_get_ter_siz return screen size of the current terminal
dal_uti_inf_sys return system settings for key
dal_uti_inf_usr return user-defined value for key
dal_uti_env_dtv_roo return path to Root-directory < ini >
dal_uti_env_dtv_ini return path to the < ini > directory
dal_uti_env_dtv_hlp return path to the < hlp > directory
dal_uti_env_dtv_frm return path to the < frm > directory
dal_uti_env_dtv_tmp return path to the < tmp > directory
dal_uti_env_dtv_com return path to the < com > directory
dal_uti_env_dtv_inc return path to the < inc > directory
dal_uti_env_dtv_dmp return path to the < dmp > directory
dal_uti_env_dtv_lck return path to the < lck > directory
dal_uti_env_dtv_lrn return path to the < lrn > directory


Module mem

dal_mem_in initialize dynamic memory structure
dal_mem_mal allocate memory (malloc)
dal_mem_ca allocate memory and fill with zeros (calloc)
dal_mem_ral change size of the allocated memory (realloc)
dal_mem_rca change size of the allocated memory and fill with zeros (realloc+calloc)
dal_mem_set buffer current malloc pointer
dal_mem_fre release memory