]> git.8kb.co.uk Git - dataflex/df32func/blob - src/df32/df32func.mk
Initial import
[dataflex/df32func] / src / df32 / df32func.mk
1 //-------------------------------------------------------------------------\r
2 // df32func.mk\r
3 //              Primary source file for DateFlex 3.2 Console Mode "df32func" extentions\r
4 //\r
5 // This is the file to be compiled by the dfcomp command\r
6 //\r
7 // Copyright (c) 2006-2009, glyn@8kb.co.uk\r
8 // \r
9 // df32func/df32func.mk\r
10 //-------------------------------------------------------------------------\r
11 //#NOISY 99\r
12 //#NOISY 1\r
13 \r
14 #REM ----------------------------------------------------------------------\r
15 #REM Compiling df32func.inc\r
16 #REM If precompiling ensure df32func.flp is with your \r
17 #REM bytecode and df32func.pki is with your packages\r
18 #REM ----------------------------------------------------------------------\r
19 \r
20 //-------------------------------------------------------------------------\r
21 // Set dataflex epoch and set date format to 4 digit years\r
22 //-------------------------------------------------------------------------\r
23 \r
24 set_date_attribute date4_state to dftrue\r
25 set_date_attribute epoch_value to 80\r
26 set_date_attribute sysdate4_state to dftrue\r
27 \r
28 //-------------------------------------------------------------------------\r
29 // Standard DF32 Console Mode packages \r
30 //-------------------------------------------------------------------------\r
31 \r
32 Use CASE                                        //this package allows the use of switch statements in DataFlex\r
33 Use UI                                          //this package contains all the user interface / data classes for OO DataFlex\r
34 Use MONARRAY                                    //this package allows the easy monitoring of an array\r
35 Use TIMER                                       //this package allows the use of timers to control events\r
36 Use DLL                                         //this package allows import of dynamic link libraries, N.B. It contains fake\r
37                                                 //WORD and BYTE types that are incorrect for use in C struct types\r
38 //-------------------------------------------------------------------------\r
39 // Defines used to control some compile time behaviour\r
40 //-------------------------------------------------------------------------\r
41 \r
42 //Define enable_dfassert\r
43 Define no_backslash_quote\r
44 Define default_file_channel                                             for 9\r
45 \r
46 //-------------------------------------------------------------------------\r
47 // Global variables used to control some runtime behaviour\r
48 //-------------------------------------------------------------------------\r
49 \r
50 // Turn on any debug lines at runtime\r
51 indicator show_debug_lines\r
52 \r
53 //Used by set msxsl function (string.inc) - set to true to keep msxsl binary in one particular place\r
54 indicator g_bMsxslPresent                       \r
55 string g_sMsxslEngine\r
56 \r
57 //used by runtime (date.inc)\r
58 integer g_nRuntime_entry \r
59 \r
60 //used by replacement GET_FILE_MOD_TIME command (depmacro.inc)                     \r
61 string  g_sGetfileModTime\r
62 \r
63 indicate g_bMsxslPresent false                  \r
64 move "c:\msxsl.exe" to g_sMsxslEngine\r
65 move 0 to g_nRuntime_entry\r
66 indicate show_debug_lines false\r
67 \r
68 \r
69 //-------------------------------------------------------------------------\r
70 // Include main content\r
71 //-------------------------------------------------------------------------\r
72 \r
73 //Including header file win32.h\r
74 #INCLUDE win32.h\r
75 //Including include file tcpcom.h\r
76 #INCLUDE tcpcomm.h\r
77 //Including include file console.h\r
78 #INCLUDE console.h\r
79 //Including include file encode.h\r
80 #INCLUDE encode.h\r
81 //Including include file errors.h\r
82 #INCLUDE errors.h\r
83 //Including include file macro.inc\r
84 #INCLUDE macro.inc\r
85 //Including include file math.inc\r
86 #INCLUDE math.inc\r
87 //Including include file win32.inc\r
88 #INCLUDE win32.inc\r
89 //Including include file string.inc\r
90 #INCLUDE string.inc\r
91 //Including include file date.inc\r
92 #INCLUDE date.inc\r
93 //Including include file console.inc\r
94 #INCLUDE hash.inc\r
95 //Including include file data.inc\r
96 #INCLUDE data.inc\r
97 //Including include file depmacro.inc\r
98 #INCLUDE console.inc\r
99 //Including include file hash.inc\r
100 #INCLUDE depmacro.inc\r
101 //Including include file tstamp.inc\r
102 #INCLUDE tstamp.inc\r
103 //Including include file encode.inc\r
104 #INCLUDE encode.inc\r