System.Data.SQLite
Check-in [01215e1780]
Not logged in

 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92   # EagleShell.exe -preInitialize "unset -nocomplain test_year" # -file .\path\to\all.eagle # if {[info exists ::test_year] && [string length $::test_year] > 0} then { # # NOTE: Use the specified test year. If this variable is not set, the # default value will be based on whether or not Eagle has been # compiled against the .NET Framework 2.0 or 4.0. # return$::test_year } else { # # NOTE: If Eagle has been compiled against the .NET Framework 4.0, use # "2010" by default (we could use "2012" in that case as well) as # the test year; otherwise, use "2008" by default (we could use # "2005" in that case as well). If another major [incompatible] # version of the .NET Framework is released, this check will have # to be changed. The default test year to use for a particular # CLR version may be overridden using another global variable # (i.e. test_year_clr_vX). # if {[haveConstraint imageRuntime40]} then { if {[info exists ::test_year_clr_v4] && \ [string length $::test_year_clr_v4] > 0} then { # # NOTE: Use the specified test year for the .NET Framework 4.0. # return$::test_year_clr_v4 } else { # # NOTE: Use the default test year for the .NET Framework 4.0. # return 2010; # TODO: Good "fallback" default? } } else { if {[info exists ::test_year_clr_v2] && \ [string length $::test_year_clr_v2] > 0} then { # # NOTE: Use the specified test year for the .NET Framework 2.0. # return$::test_year_clr_v2 } else { # # NOTE: Use the default test year for the .NET Framework 2.0. # return 2008; # TODO: Good "fallback" default? } } } }   | | | | | | | | | | | | |  42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92   # EagleShell.exe -preInitialize "unset -nocomplain test_year" # -file .\path\to\all.eagle # if {[info exists ::test_year] && [string length $::test_year] > 0} then { # # NOTE: Use the specified test year. If this variable is not set, the # default value will be based on whether or not Eagle has been # compiled against the CLR v2.0 or CLR v4.0. # return$::test_year } else { # # NOTE: If Eagle has been compiled against the CLR v4.0, use "2010" by # default (we could use "2012" in that case as well) as the test # year; otherwise, use "2008" by default (we could use "2005" in # that case as well). If another major [incompatible] version of # the CLR is released, this check will have to be changed. The # default test year to use for a particular CLR version may be # overridden by setting the global variable "test_year_clr_v$X", # where "$X" may [currently] be either "2" or "4". # if {[haveConstraint imageRuntime40]} then { if {[info exists ::test_year_clr_v4] && \ [string length $::test_year_clr_v4] > 0} then { # # NOTE: Use the specified test year for the CLR v4.0. # return$::test_year_clr_v4 } else { # # NOTE: Use the default test year for the CLR v4.0. # return 2010; # TODO: Good "fallback" default? } } else { if {[info exists ::test_year_clr_v2] && \ [string length $::test_year_clr_v2] > 0} then { # # NOTE: Use the specified test year for the CLR v2.0. # return$::test_year_clr_v2 } else { # # NOTE: Use the default test year for the CLR v2.0. # return 2008; # TODO: Good "fallback" default? } } } }