home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0040 - 0049 / ibm0040-0049 / ibm0040.tar / ibm0040 / DBRIEF.ZIP / SOURCE / DBRIEF.H < prev    next >
Encoding:
Text File  |  1991-03-21  |  5.0 KB  |  224 lines

  1. ;** dBRIEF Header - v3.10
  2. ;** Copyright (c) 1991 By Global Technologies Corporation
  3. ;** Version Information
  4. #define  dbr_version                    "dBRIEF v3.10"
  5.  
  6. ;Default Configuration Constants
  7. #define  dbr_author                    "Bill French"
  8. #define  dbr_copyright                "Global Technologies Corporation"
  9. #define  dbr_mem_lead                "M"
  10. #define  dbr_mem_trail                ""
  11.  
  12. ;default file extension for dialect types 1,2,3,4,5,6,8, and 12
  13. #define  dbr_def_file_ext                        "PRG"
  14.  
  15. ;object editing backup flag (0 = delete backups, 1 = save backups)
  16. #define  dbr_object_backup_flag                0
  17.  
  18. ;display message windows (0 = command line, 1 = window)
  19. #define  dbr_message_windows                    1
  20.  
  21. ;MNU file search constant
  22. #define  dbr_mnu_path                            "BPATH"
  23.  
  24. ;default indent level used if no initials macro is present
  25. #define  dbr_indent_default                    3
  26.  
  27. ;delete STR files for window displays (0 = save, 1 = delete)
  28. #define    dbr_delete_str                            1
  29.  
  30. ;time to display popup messages and screen displays before clearing
  31. #define    dbr_msg_seconds                        5
  32. #define    dbr_scr_seconds                        30
  33.  
  34. ;number of times to beep during popup display error messages
  35. #define  dbr_err_beeps                            2
  36.  
  37. ;procedure/function header inclusion (0 = header outside, 1 = header inside)
  38. #define    dbr_hdr_inclusion                        0
  39.  
  40. ;source print lines per page, page width, printer setup, designated spooler
  41. #define    dbr_lines_page                            52
  42. #define    dbr_cols_page                            132
  43. #define    dbr_printer_setup                        "\n"
  44. #define    dbr_spooler                                "print"
  45.  
  46. ;extended line indentation factor (times the indent level)
  47. #define    dbr_ext_ind_level                        1
  48.  
  49. ;indentation performance features (0 = off, 1 = on)
  50. #define     dbr_indent_case                        1
  51. #define    dbr_indent_continuation_lines        0
  52. #define    dbr_indent_margin_comments            0
  53. #define    dbr_indent_same_line_comments        1
  54.  
  55. ;expand template functions with sample expressions (0 = exclude expr, 1 = include expr)
  56. #define    dbr_expr_expansion                    0
  57.  
  58. ;include original line comment in automatic conditional completion
  59. #define    dbr_orig_cond_comment                  1
  60.  
  61. ;enable previous scan command
  62. #define    dbr_previous_scan                        1
  63.  
  64. ;spaces inserted with "comment block"
  65. #define    dbr_comment_spaces                    1
  66.  
  67. ;automatic dialect support during buffer switch (if you like speed, don't change this)
  68. #define  dbr_auto_switch_buffer                0
  69.  
  70. ;use two word program commenting
  71. #define  dbr_two_word_comments                1
  72.  
  73. ;return string for UDF's
  74. #define  dbr_udf_return                            "RETURN(.T.)"
  75.  
  76. ;graphics characters
  77. #define  hr_char                                    "─══»"
  78. #define  ul_char                                    "┌╔╒░"
  79. #define  ur_char                                    "┐╗╕▒"
  80. #define  vr_char                                    "│║│«"
  81. #define  ll_char                                    "└╚╘█"
  82. #define  lr_char                                    "┘╝╛▀"
  83.  
  84. ;procedure suffix string
  85. ;apx autoload flag
  86. #define dbr_apx_autoload                        0
  87.  
  88. ;dBRIEF external declarations
  89. (extern  temp_int
  90.     temp_str
  91.     _prg_smart
  92.     _obk_smart
  93.     library_buffer
  94.     library_window
  95.     curr_indent_line
  96.     curr_indent_col
  97.     dbr_text_flag
  98.     dbr_curr_line
  99.     dbr_return_flag
  100.     dbr_current_buffer
  101.     dbr_current_window
  102.     dbr_dialect
  103.     dbr_default_dialect
  104.     dbr_indent_level
  105.     dbr_proc_indent
  106.     dbr_auto_indent
  107.     dbr_comment_tab
  108.     dbr_comment_lines
  109.     dbr_set_ext
  110.     dbr_auto_header
  111.     dbr_template
  112.     dbr_graphics
  113.     dbr_library
  114.     dbr_apx_file_id
  115.     apx_menu_event
  116. ;apx.m
  117.     apx
  118.     _select_apx_program
  119.     _open_apx_file
  120.     _create_apx_file
  121.     _display_apx_file
  122.     _apx_scan_menu
  123.     _scan_apx_programs_r
  124.     _scan_apx_programs_p
  125.     _scan_apx_programs_f
  126.     _scan_apx_programs_t
  127. ;crossref.m
  128.     _find_constant
  129. ;dbrief.m
  130.     add_to_path
  131.     _case_insert
  132.     _get_dialect_info
  133. ;db_hide.m
  134.    db_hide
  135.    db_show
  136.    _object_action
  137. ;macrolib.m
  138.     _date_time
  139.     _pause_for_seconds
  140.     _pad_right
  141.     _display_popup_message
  142.     _menu_lines
  143.     _get_directory
  144.     _replicate
  145.     _number_lines
  146.     _number_bytes
  147.     _pick_menu
  148.     _parse_child
  149. ;display.m
  150.     _display_graphics_mode
  151.     _status
  152. ;generate.m
  153.     _create_routine_from_block
  154.     _substitute_window_coordinates
  155.     _reverse_window_coordinates
  156. ;graphics.m
  157.     _frame
  158.     _cursor
  159.     _control_key
  160. ;header.m
  161.     _pro_header
  162.     _procedure_header
  163. ;indenter.m
  164.     rein
  165.     _last_character
  166.     _prg_indent
  167. ;library.m
  168.     _process_library_call
  169.     _complete_conditional
  170.     _sv
  171. ;scanner.m
  172.     scan
  173. ;setcmds.m
  174.     setu
  175.     _switch_dialect
  176. ;source.m
  177.     _print_source
  178. ;template.m
  179.     expa
  180. ;Dialect Macro (reindenting)
  181.     _adjust_indent_level
  182.     _do_case_syntax
  183.     _do_while_syntax
  184.     _backdenting_conditionals
  185.     _dialect_table
  186.     _indent_shift
  187.     _command_table
  188.     _function_table
  189.     _set_table
  190.     _frame_component
  191. ;Dialect Macro (commenting)
  192.     _comment_conditionals
  193.     _uncomment_conditionals
  194. ;Dialect Macro (code generation)
  195.     writ
  196.     _generate_fields
  197. ;Dialect Macro (source print)
  198.     _insert_graphics
  199. ;Dialect Macro (other)
  200.     _continuation_character
  201.     _comment_character
  202.     _write_enable
  203.     _beg_of_rout_scan
  204.     _beg_of_proc_scan
  205.     _beg_of_func_scan
  206.     _end_of_rout_syntax
  207.     _execute_command
  208.     _structure
  209.     _structure_build
  210. ;Dialog Manager
  211.     _process_menu
  212.     _process_dialog_box
  213. ;Other External Macros
  214.     search_path
  215.     default
  216.     .prg
  217.     to_top
  218. )
  219.  
  220. #define ProcSuffix            ""
  221. ;#define ProcSuffix             "\nWritelib %s\nRelease procs %s"  ;for Paradox only!
  222.  
  223.  
  224.