1801 lines
78 KiB
Plaintext
1801 lines
78 KiB
Plaintext
|
|
||
|
|
||
|
======== Testing VarUI1FromXXX ========
|
||
|
VarUI1FromI2: passing in NULL as return val makes it crash, 0
|
||
|
VarUI1FromStr: passing in NULL as param: 80020005
|
||
|
VarUI1FromI2: 0, 0, 0
|
||
|
VarUI1FromI2: 69, 45, 0
|
||
|
VarUI1FromI2: 70, 46, 0
|
||
|
VarUI1FromI2: 128, 80, 0
|
||
|
VarUI1FromI2: 255, FF, 0
|
||
|
VarUI1FromI2: 256, FF, 8002000A
|
||
|
VarUI1FromI2: 257, FF, 8002000A
|
||
|
VarUI1FromR8: 0.0, 0, 0
|
||
|
VarUI1FromR8: 69.33, 45, 0
|
||
|
VarUI1FromR8: 69.66, 46, 0
|
||
|
VarUI1FromR8: -69.33, 46, 8002000A
|
||
|
VarUI1FromR8: -69.66, 46, 8002000A
|
||
|
VarUI1FromR8: -0.5, 0, 0
|
||
|
VarUI1FromR8: -0.51, 0, 8002000A
|
||
|
VarUI1FromR8: -0.49, 0, 0
|
||
|
VarUI1FromR8: 0.5, 0, 0
|
||
|
VarUI1FromR8: 0.51, 1, 0
|
||
|
VarUI1FromR8: 0.49, 0, 0
|
||
|
VarUI1FromDate: 0.0, 0, 0
|
||
|
VarUI1FromDate: 69.33, 45, 0
|
||
|
VarUI1FromDate: 69.66, 46, 0
|
||
|
VarUI1FromDate: -69.33, 46, 8002000A
|
||
|
VarUI1FromDate: -69.66, 46, 8002000A
|
||
|
VarUI1FromBool: VARIANT_TRUE, FF, 0
|
||
|
VarUI1FromBool: VARIANT_FALSE, 0, 0
|
||
|
VarUI1FromStr: "-2", 0, 8002000A
|
||
|
VarUI1FromStr: "-1", 0, 8002000A
|
||
|
VarUI1FromStr: "-0.51", 0, 8002000A
|
||
|
VarUI1FromStr: "-0.5", 0, 0
|
||
|
VarUI1FromStr: "-0.49", 0, 0
|
||
|
VarUI1FromStr: "-0.0", 0, 0
|
||
|
VarUI1FromStr: "0.0", 0, 0
|
||
|
VarUI1FromStr: "0.49", 0, 0
|
||
|
VarUI1FromStr: "0.5", 0, 0
|
||
|
VarUI1FromStr: "0.51", 1, 0
|
||
|
VarUI1FromStr: "1", 1, 0
|
||
|
VarUI1FromStr: "127", 7F, 0
|
||
|
VarUI1FromStr: "128", 80, 0
|
||
|
VarUI1FromStr: "129", 81, 0
|
||
|
VarUI1FromStr: "255", FF, 0
|
||
|
VarUI1FromStr: "256", FF, 8002000A
|
||
|
VarUI1FromStr: "257", FF, 8002000A
|
||
|
VarUI1FromStr: "32767", FF, 8002000A
|
||
|
VarUI1FromStr: "32768", FF, 8002000A
|
||
|
VarUI1FromStr: "-32768", FF, 8002000A
|
||
|
VarUI1FromStr: "-32769", FF, 8002000A
|
||
|
VarUI1FromStr: "16777216", FF, 8002000A
|
||
|
VarUI1FromStr: "16777217", FF, 8002000A
|
||
|
VarUI1FromStr: "-16777216", FF, 8002000A
|
||
|
VarUI1FromStr: "16777217", FF, 8002000A
|
||
|
VarUI1FromStr: "2147483647", FF, 8002000A
|
||
|
VarUI1FromStr: "2147483648", FF, 8002000A
|
||
|
VarUI1FromStr: "-2147483647", FF, 8002000A
|
||
|
VarUI1FromStr: "-2147483648", FF, 8002000A
|
||
|
VarUI1FromStr: "", FF, 80020005
|
||
|
VarUI1FromStr: " ", FF, 80020005
|
||
|
VarUI1FromStr: "1F", FF, 80020005
|
||
|
VarUI1FromStr: "1G", FF, 80020005
|
||
|
VarUI1FromStr: " 1 ", 1, 0
|
||
|
VarUI1FromStr: " 1 2 ", 1, 80020005
|
||
|
VarUI1FromStr: "1,2,3", 7B, 0
|
||
|
VarUI1FromStr: "1 2 3", 7B, 80020005
|
||
|
VarUI1FromStr: "1,2, 3", 7B, 80020005
|
||
|
VarUI1FromStr: "1;2;3", 7B, 80020005
|
||
|
VarUI1FromStr: "1.2.3", 7B, 80020005
|
||
|
VarUI1FromStr: "0.", 0, 0
|
||
|
VarUI1FromStr: ".0", 0, 0
|
||
|
VarUI1FromStr: "0.1E12", 0, 8002000A
|
||
|
VarUI1FromStr: "2.4,E1", 18, 0
|
||
|
VarUI1FromStr: " +3.2,E1", 20, 0
|
||
|
VarUI1FromStr: "4E2.5", 20, 80020005
|
||
|
VarUI1FromStr: " 2E+2", C8, 0
|
||
|
VarUI1FromStr: "1 E+2", C8, 80020005
|
||
|
VarUI1FromStr: ".", C8, 80020005
|
||
|
VarUI1FromStr: ".E2", C8, 80020005
|
||
|
VarUI1FromStr: "1000000000000000000000000000000000000000000000000000000000000000", C8, 8002000A
|
||
|
VarUI1FromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 0
|
||
|
VarUI1FromStr: "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 0
|
||
|
VarUI1FromStr: "100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 8002000A
|
||
|
VarUI1FromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 0
|
||
|
VarUI1FromStr: "65535", 1, 8002000A
|
||
|
VarUI1FromStr: "65535.5", 1, 8002000A
|
||
|
VarUI1FromStr: "65536", 1, 8002000A
|
||
|
VarUI1FromStr: "4294967295", 1, 8002000A
|
||
|
VarUI1FromStr: "4294967296", 1, 8002000A
|
||
|
VarUI1FromStr: "1 January 99", 1, 80020005
|
||
|
VarUI1FromStr: "December 31, 2078", 1, 80020005
|
||
|
VarUI1FromStr: "January 1, 1900", 1, 80020005
|
||
|
VarUI1FromStr: "January 2 1900", 1, 80020005
|
||
|
VarUI1FromStr: "11.11.1999", 1, 80020005
|
||
|
VarUI1FromStr: "11/11/1999", 1, 80020005
|
||
|
VarUI1FromStr: " 11 / 11 / 1999", 1, 80020005
|
||
|
VarUI1FromStr: "11/11/1999:11:11:1134", 1, 80020005
|
||
|
VarUI1FromStr: "11/11/1999 11:11:11:1", 1, 80020005
|
||
|
VarUI1FromStr: " 1999/ 11/21 11 :11:11am", 1, 80020005
|
||
|
VarUI1FromStr: "11/11/1999 11:11:11Am", 1, 80020005
|
||
|
VarUI1FromStr: "11/11/1999 11:11:11PM", 1, 80020005
|
||
|
VarUI1FromStr: "11/11/199911:11:11PM", 1, 80020005
|
||
|
VarUI1FromStr: "11/11/1999 0:0:11am", 1, 80020005
|
||
|
VarUI1FromStr: "11/11/1999 11,11:11am", 1, 80020005
|
||
|
VarUI1FromStr: "11/11/1999 11:11:11am", 1, 80020005
|
||
|
VarUI1FromStr: "11/11/1999 11/11:11am", 1, 80020005
|
||
|
VarUI1FromStr: "11/11/1999 11:11AM", 1, 80020005
|
||
|
VarUI1FromStr: "11/11/1999 1AM", 1, 80020005
|
||
|
VarUI1FromStr: "11/11/1999 0AM", 1, 80020005
|
||
|
VarUI1FromStr: "11/11/1999 11:11:11", 1, 80020005
|
||
|
VarUI1FromStr: "11/13/1999 0AM", 1, 80020005
|
||
|
VarUI1FromStr: "13/13/1999 0AM", 1, 80020005
|
||
|
VarUI1FromStr: "13/11/1999 0AM", 1, 80020005
|
||
|
VarUI1FromStr: "11/33/1999 0AM", 1, 80020005
|
||
|
VarUI1FromStr: "11/11/1999 AM", 1, 80020005
|
||
|
VarUI1FromStr: "1/1/0 0AM", 1, 80020005
|
||
|
VarUI1FromStr: "1/1/-1 0AM", 1, 80020005
|
||
|
VarUI1FromStr: "1999 January 3 9AM", 1, 80020005
|
||
|
VarUI1FromStr: "1 January 1999 11AM", 1, 80020005
|
||
|
VarUI1FromStr: "4AM 11/11/1999", 1, 80020005
|
||
|
VarUI1FromStr: "4:22 11/11/1999 AM", 1, 80020005
|
||
|
VarUI1FromStr: " 1 1 /11/1999", 1, 80020005
|
||
|
VarUI1FromStr: "11-11/1999 11:11:11.12AM", 1, 80020005
|
||
|
VarUI1FromStr: "1999 January 3, 9AM", 1, 80020005
|
||
|
VarUI1FromStr: "December, 31, 2078", 1, 80020005
|
||
|
VarUI1FromStr: "December, 31, 2078,", 1, 80020005
|
||
|
VarUI1FromStr: "December, 31 2078", 1, 80020005
|
||
|
VarUI1FromStr: "11/99", 1, 80020005
|
||
|
VarUI1FromStr: "11-1999", 1, 80020005
|
||
|
VarUI1FromStr: "true", 1, 80020005
|
||
|
VarUI1FromStr: "True", 1, 80020005
|
||
|
VarUI1FromStr: "TRue", 1, 80020005
|
||
|
VarUI1FromStr: "TRUE", 1, 80020005
|
||
|
VarUI1FromStr: " TRUE", 1, 80020005
|
||
|
VarUI1FromStr: "FALSE ", 1, 80020005
|
||
|
VarUI1FromStr: "False", 1, 80020005
|
||
|
VarUI1FromStr: "JustSomeText", 1, 80020005
|
||
|
VarUI1FromStr: "Just Some Text", 1, 80020005
|
||
|
VarUI1FromStr: "", 1, 80020005
|
||
|
VarUI1FromStr: "1.5", 2, 0
|
||
|
VarUI1FromStr: "2.5", 2, 0
|
||
|
VarUI1FromStr: "3.5", 4, 0
|
||
|
VarUI1FromStr: "4.5", 4, 0
|
||
|
VarUI1FromStr: "", 4, 80020005
|
||
|
VarUI1FromStr: "", 4, 80020005
|
||
|
VarUI1FromStr: "", 4, 80020005
|
||
|
VarUI1FromStr: "", 4, 80020005
|
||
|
VarUI1FromStr: "", 4, 80020005
|
||
|
VarUI1FromStr: "", 4, 80020005
|
||
|
|
||
|
|
||
|
======== Testing VarUI2FromXXX ========
|
||
|
VarUI2FromI2: -1, 0, 8002000A
|
||
|
VarUI2FromI2: passing in NULL as return val makes it crash, 8002000A
|
||
|
VarUI2FromStr: passing in NULL as param: 80020005
|
||
|
VarUI2FromI2: 0, 0, 0
|
||
|
VarUI2FromI2: 69, 69, 0
|
||
|
VarUI2FromI2: 70, 70, 0
|
||
|
VarUI2FromI2: 128, 128, 0
|
||
|
VarUI2FromI4: 65535, 65535, 0
|
||
|
VarUI2FromI4: 65536, 65535, 8002000A
|
||
|
VarUI2FromI4: 65537, 65535, 8002000A
|
||
|
VarUI2FromR8: 0.0, 0, 0
|
||
|
VarUI2FromR8: 69.33, 69, 0
|
||
|
VarUI2FromR8: 69.66, 70, 0
|
||
|
VarUI2FromR8: -69.33, 70, 8002000A
|
||
|
VarUI2FromR8: -69.66, 70, 8002000A
|
||
|
VarUI2FromR8: -0.5, 0, 0
|
||
|
VarUI2FromR8: -0.51, 0, 8002000A
|
||
|
VarUI2FromR8: -0.49, 0, 0
|
||
|
VarUI2FromR8: 0.5, 0, 0
|
||
|
VarUI2FromR8: 0.51, 1, 0
|
||
|
VarUI2FromR8: 0.49, 0, 0
|
||
|
VarUI2FromDate: 0.0, 0, 0
|
||
|
VarUI2FromDate: 69.33, 69, 0
|
||
|
VarUI2FromDate: 69.66, 70, 0
|
||
|
VarUI2FromDate: -69.33, 70, 8002000A
|
||
|
VarUI2FromDate: -69.66, 70, 8002000A
|
||
|
VarUI2FromBool: VARIANT_TRUE, 65535, 0
|
||
|
VarUI2FromBool: VARIANT_FALSE, 0, 0
|
||
|
VarUI2FromStr: "-2", 0, 8002000A
|
||
|
VarUI2FromStr: "-1", 0, 8002000A
|
||
|
VarUI2FromStr: "-0.51", 0, 8002000A
|
||
|
VarUI2FromStr: "-0.5", 0, 0
|
||
|
VarUI2FromStr: "-0.49", 0, 0
|
||
|
VarUI2FromStr: "-0.0", 0, 0
|
||
|
VarUI2FromStr: "0.0", 0, 0
|
||
|
VarUI2FromStr: "0.49", 0, 0
|
||
|
VarUI2FromStr: "0.5", 0, 0
|
||
|
VarUI2FromStr: "0.51", 1, 0
|
||
|
VarUI2FromStr: "1", 1, 0
|
||
|
VarUI2FromStr: "127", 127, 0
|
||
|
VarUI2FromStr: "128", 128, 0
|
||
|
VarUI2FromStr: "129", 129, 0
|
||
|
VarUI2FromStr: "255", 255, 0
|
||
|
VarUI2FromStr: "256", 256, 0
|
||
|
VarUI2FromStr: "257", 257, 0
|
||
|
VarUI2FromStr: "32767", 32767, 0
|
||
|
VarUI2FromStr: "32768", 32768, 0
|
||
|
VarUI2FromStr: "-32768", 32768, 8002000A
|
||
|
VarUI2FromStr: "-32769", 32768, 8002000A
|
||
|
VarUI2FromStr: "16777216", 32768, 8002000A
|
||
|
VarUI2FromStr: "16777217", 32768, 8002000A
|
||
|
VarUI2FromStr: "-16777216", 32768, 8002000A
|
||
|
VarUI2FromStr: "16777217", 32768, 8002000A
|
||
|
VarUI2FromStr: "2147483647", 32768, 8002000A
|
||
|
VarUI2FromStr: "2147483648", 32768, 8002000A
|
||
|
VarUI2FromStr: "-2147483647", 32768, 8002000A
|
||
|
VarUI2FromStr: "-2147483648", 32768, 8002000A
|
||
|
VarUI2FromStr: "", 32768, 80020005
|
||
|
VarUI2FromStr: " ", 32768, 80020005
|
||
|
VarUI2FromStr: "1F", 32768, 80020005
|
||
|
VarUI2FromStr: "1G", 32768, 80020005
|
||
|
VarUI2FromStr: " 1 ", 1, 0
|
||
|
VarUI2FromStr: " 1 2 ", 1, 80020005
|
||
|
VarUI2FromStr: "1,2,3", 123, 0
|
||
|
VarUI2FromStr: "1 2 3", 123, 80020005
|
||
|
VarUI2FromStr: "1,2, 3", 123, 80020005
|
||
|
VarUI2FromStr: "1;2;3", 123, 80020005
|
||
|
VarUI2FromStr: "1.2.3", 123, 80020005
|
||
|
VarUI2FromStr: "0.", 0, 0
|
||
|
VarUI2FromStr: ".0", 0, 0
|
||
|
VarUI2FromStr: "0.1E12", 0, 8002000A
|
||
|
VarUI2FromStr: "2.4,E1", 24, 0
|
||
|
VarUI2FromStr: " +3.2,E1", 32, 0
|
||
|
VarUI2FromStr: "4E2.5", 32, 80020005
|
||
|
VarUI2FromStr: " 2E+2", 200, 0
|
||
|
VarUI2FromStr: "1 E+2", 200, 80020005
|
||
|
VarUI2FromStr: ".", 200, 80020005
|
||
|
VarUI2FromStr: ".E2", 200, 80020005
|
||
|
VarUI2FromStr: "1000000000000000000000000000000000000000000000000000000000000000", 200, 8002000A
|
||
|
VarUI2FromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 0
|
||
|
VarUI2FromStr: "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 0
|
||
|
VarUI2FromStr: "100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 8002000A
|
||
|
VarUI2FromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 0
|
||
|
VarUI2FromStr: "65535", 65535, 0
|
||
|
VarUI2FromStr: "65535.5", 65535, 8002000A
|
||
|
VarUI2FromStr: "65536", 65535, 8002000A
|
||
|
VarUI2FromStr: "4294967295", 65535, 8002000A
|
||
|
VarUI2FromStr: "4294967296", 65535, 8002000A
|
||
|
VarUI2FromStr: "1 January 99", 65535, 80020005
|
||
|
VarUI2FromStr: "December 31, 2078", 65535, 80020005
|
||
|
VarUI2FromStr: "January 1, 1900", 65535, 80020005
|
||
|
VarUI2FromStr: "January 2 1900", 65535, 80020005
|
||
|
VarUI2FromStr: "11.11.1999", 65535, 80020005
|
||
|
VarUI2FromStr: "11/11/1999", 65535, 80020005
|
||
|
VarUI2FromStr: " 11 / 11 / 1999", 65535, 80020005
|
||
|
VarUI2FromStr: "11/11/1999:11:11:1134", 65535, 80020005
|
||
|
VarUI2FromStr: "11/11/1999 11:11:11:1", 65535, 80020005
|
||
|
VarUI2FromStr: " 1999/ 11/21 11 :11:11am", 65535, 80020005
|
||
|
VarUI2FromStr: "11/11/1999 11:11:11Am", 65535, 80020005
|
||
|
VarUI2FromStr: "11/11/1999 11:11:11PM", 65535, 80020005
|
||
|
VarUI2FromStr: "11/11/199911:11:11PM", 65535, 80020005
|
||
|
VarUI2FromStr: "11/11/1999 0:0:11am", 65535, 80020005
|
||
|
VarUI2FromStr: "11/11/1999 11,11:11am", 65535, 80020005
|
||
|
VarUI2FromStr: "11/11/1999 11:11:11am", 65535, 80020005
|
||
|
VarUI2FromStr: "11/11/1999 11/11:11am", 65535, 80020005
|
||
|
VarUI2FromStr: "11/11/1999 11:11AM", 65535, 80020005
|
||
|
VarUI2FromStr: "11/11/1999 1AM", 65535, 80020005
|
||
|
VarUI2FromStr: "11/11/1999 0AM", 65535, 80020005
|
||
|
VarUI2FromStr: "11/11/1999 11:11:11", 65535, 80020005
|
||
|
VarUI2FromStr: "11/13/1999 0AM", 65535, 80020005
|
||
|
VarUI2FromStr: "13/13/1999 0AM", 65535, 80020005
|
||
|
VarUI2FromStr: "13/11/1999 0AM", 65535, 80020005
|
||
|
VarUI2FromStr: "11/33/1999 0AM", 65535, 80020005
|
||
|
VarUI2FromStr: "11/11/1999 AM", 65535, 80020005
|
||
|
VarUI2FromStr: "1/1/0 0AM", 65535, 80020005
|
||
|
VarUI2FromStr: "1/1/-1 0AM", 65535, 80020005
|
||
|
VarUI2FromStr: "1999 January 3 9AM", 65535, 80020005
|
||
|
VarUI2FromStr: "1 January 1999 11AM", 65535, 80020005
|
||
|
VarUI2FromStr: "4AM 11/11/1999", 65535, 80020005
|
||
|
VarUI2FromStr: "4:22 11/11/1999 AM", 65535, 80020005
|
||
|
VarUI2FromStr: " 1 1 /11/1999", 65535, 80020005
|
||
|
VarUI2FromStr: "11-11/1999 11:11:11.12AM", 65535, 80020005
|
||
|
VarUI2FromStr: "1999 January 3, 9AM", 65535, 80020005
|
||
|
VarUI2FromStr: "December, 31, 2078", 65535, 80020005
|
||
|
VarUI2FromStr: "December, 31, 2078,", 65535, 80020005
|
||
|
VarUI2FromStr: "December, 31 2078", 65535, 80020005
|
||
|
VarUI2FromStr: "11/99", 65535, 80020005
|
||
|
VarUI2FromStr: "11-1999", 65535, 80020005
|
||
|
VarUI2FromStr: "true", 65535, 80020005
|
||
|
VarUI2FromStr: "True", 65535, 80020005
|
||
|
VarUI2FromStr: "TRue", 65535, 80020005
|
||
|
VarUI2FromStr: "TRUE", 65535, 80020005
|
||
|
VarUI2FromStr: " TRUE", 65535, 80020005
|
||
|
VarUI2FromStr: "FALSE ", 65535, 80020005
|
||
|
VarUI2FromStr: "False", 65535, 80020005
|
||
|
VarUI2FromStr: "JustSomeText", 65535, 80020005
|
||
|
VarUI2FromStr: "Just Some Text", 65535, 80020005
|
||
|
VarUI2FromStr: "", 65535, 80020005
|
||
|
VarUI2FromStr: "1.5", 2, 0
|
||
|
VarUI2FromStr: "2.5", 2, 0
|
||
|
VarUI2FromStr: "3.5", 4, 0
|
||
|
VarUI2FromStr: "4.5", 4, 0
|
||
|
VarUI2FromStr: "", 4, 80020005
|
||
|
VarUI2FromStr: "", 4, 80020005
|
||
|
VarUI2FromStr: "", 4, 80020005
|
||
|
VarUI2FromStr: "", 4, 80020005
|
||
|
VarUI2FromStr: "", 4, 80020005
|
||
|
VarUI2FromStr: "", 4, 80020005
|
||
|
|
||
|
|
||
|
======== Testing VarUI4FromXXX ========
|
||
|
VarUI4FromI2: passing in NULL as return val makes it crash, 80020005
|
||
|
VarUI4FromStr: passing in NULL as param: 80020005
|
||
|
VarUI4FromI2: 0, 0, 0
|
||
|
VarUI4FromI2: 69, 69, 0
|
||
|
VarUI4FromI2: 70, 70, 0
|
||
|
VarUI4FromI2: 128, 128, 0
|
||
|
VarUI4FromI2: 255, 255, 0
|
||
|
VarUI4FromR8: 4294967295, 4294967295, 0
|
||
|
VarUI4FromR8: 4294967296, 4294967295, 8002000A
|
||
|
VarUI4FromR8: 0.0, 0, 0
|
||
|
VarUI4FromR8: 69.33, 69, 0
|
||
|
VarUI4FromR8: 69.66, 70, 0
|
||
|
VarUI4FromR8: -69.33, 70, 8002000A
|
||
|
VarUI4FromR8: -69.66, 70, 8002000A
|
||
|
VarUI4FromR8: -0.5, 0, 0
|
||
|
VarUI4FromR8: -0.51, 0, 8002000A
|
||
|
VarUI4FromR8: -0.49, 0, 0
|
||
|
VarUI4FromR8: 0.5, 0, 0
|
||
|
VarUI4FromR8: 0.51, 1, 0
|
||
|
VarUI4FromR8: 0.49, 0, 0
|
||
|
VarUI4FromDate: 0.0, 0, 0
|
||
|
VarUI4FromDate: 69.33, 69, 0
|
||
|
VarUI4FromDate: 69.66, 70, 0
|
||
|
VarUI4FromDate: -69.33, 70, 8002000A
|
||
|
VarUI4FromDate: -69.66, 70, 8002000A
|
||
|
VarUI4FromBool: VARIANT_TRUE, 4294967295, 0
|
||
|
VarUI4FromBool: VARIANT_FALSE, 0, 0
|
||
|
VarUI4FromStr: "-2", 0, 8002000A
|
||
|
VarUI4FromStr: "-1", 0, 8002000A
|
||
|
VarUI4FromStr: "-0.51", 0, 8002000A
|
||
|
VarUI4FromStr: "-0.5", 0, 0
|
||
|
VarUI4FromStr: "-0.49", 0, 0
|
||
|
VarUI4FromStr: "-0.0", 0, 0
|
||
|
VarUI4FromStr: "0.0", 0, 0
|
||
|
VarUI4FromStr: "0.49", 0, 0
|
||
|
VarUI4FromStr: "0.5", 0, 0
|
||
|
VarUI4FromStr: "0.51", 1, 0
|
||
|
VarUI4FromStr: "1", 1, 0
|
||
|
VarUI4FromStr: "127", 127, 0
|
||
|
VarUI4FromStr: "128", 128, 0
|
||
|
VarUI4FromStr: "129", 129, 0
|
||
|
VarUI4FromStr: "255", 255, 0
|
||
|
VarUI4FromStr: "256", 256, 0
|
||
|
VarUI4FromStr: "257", 257, 0
|
||
|
VarUI4FromStr: "32767", 32767, 0
|
||
|
VarUI4FromStr: "32768", 32768, 0
|
||
|
VarUI4FromStr: "-32768", 32768, 8002000A
|
||
|
VarUI4FromStr: "-32769", 32768, 8002000A
|
||
|
VarUI4FromStr: "16777216", 16777216, 0
|
||
|
VarUI4FromStr: "16777217", 16777217, 0
|
||
|
VarUI4FromStr: "-16777216", 16777217, 8002000A
|
||
|
VarUI4FromStr: "16777217", 16777217, 0
|
||
|
VarUI4FromStr: "2147483647", 2147483647, 0
|
||
|
VarUI4FromStr: "2147483648", 2147483648, 0
|
||
|
VarUI4FromStr: "-2147483647", 2147483648, 8002000A
|
||
|
VarUI4FromStr: "-2147483648", 2147483648, 8002000A
|
||
|
VarUI4FromStr: "", 2147483648, 80020005
|
||
|
VarUI4FromStr: " ", 2147483648, 80020005
|
||
|
VarUI4FromStr: "1F", 2147483648, 80020005
|
||
|
VarUI4FromStr: "1G", 2147483648, 80020005
|
||
|
VarUI4FromStr: " 1 ", 1, 0
|
||
|
VarUI4FromStr: " 1 2 ", 1, 80020005
|
||
|
VarUI4FromStr: "1,2,3", 123, 0
|
||
|
VarUI4FromStr: "1 2 3", 123, 80020005
|
||
|
VarUI4FromStr: "1,2, 3", 123, 80020005
|
||
|
VarUI4FromStr: "1;2;3", 123, 80020005
|
||
|
VarUI4FromStr: "1.2.3", 123, 80020005
|
||
|
VarUI4FromStr: "0.", 0, 0
|
||
|
VarUI4FromStr: ".0", 0, 0
|
||
|
VarUI4FromStr: "0.1E12", 0, 8002000A
|
||
|
VarUI4FromStr: "2.4,E1", 24, 0
|
||
|
VarUI4FromStr: " +3.2,E1", 32, 0
|
||
|
VarUI4FromStr: "4E2.5", 32, 80020005
|
||
|
VarUI4FromStr: " 2E+2", 200, 0
|
||
|
VarUI4FromStr: "1 E+2", 200, 80020005
|
||
|
VarUI4FromStr: ".", 200, 80020005
|
||
|
VarUI4FromStr: ".E2", 200, 80020005
|
||
|
VarUI4FromStr: "1000000000000000000000000000000000000000000000000000000000000000", 200, 8002000A
|
||
|
VarUI4FromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 0
|
||
|
VarUI4FromStr: "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 0
|
||
|
VarUI4FromStr: "100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 8002000A
|
||
|
VarUI4FromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 0
|
||
|
VarUI4FromStr: "65535", 65535, 0
|
||
|
VarUI4FromStr: "65535.5", 65536, 0
|
||
|
VarUI4FromStr: "65536", 65536, 0
|
||
|
VarUI4FromStr: "4294967295", 4294967295, 0
|
||
|
VarUI4FromStr: "4294967296", 4294967295, 8002000A
|
||
|
VarUI4FromStr: "1 January 99", 4294967295, 80020005
|
||
|
VarUI4FromStr: "December 31, 2078", 4294967295, 80020005
|
||
|
VarUI4FromStr: "January 1, 1900", 4294967295, 80020005
|
||
|
VarUI4FromStr: "January 2 1900", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11.11.1999", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11/11/1999", 4294967295, 80020005
|
||
|
VarUI4FromStr: " 11 / 11 / 1999", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11/11/1999:11:11:1134", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11/11/1999 11:11:11:1", 4294967295, 80020005
|
||
|
VarUI4FromStr: " 1999/ 11/21 11 :11:11am", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11/11/1999 11:11:11Am", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11/11/1999 11:11:11PM", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11/11/199911:11:11PM", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11/11/1999 0:0:11am", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11/11/1999 11,11:11am", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11/11/1999 11:11:11am", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11/11/1999 11/11:11am", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11/11/1999 11:11AM", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11/11/1999 1AM", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11/11/1999 0AM", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11/11/1999 11:11:11", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11/13/1999 0AM", 4294967295, 80020005
|
||
|
VarUI4FromStr: "13/13/1999 0AM", 4294967295, 80020005
|
||
|
VarUI4FromStr: "13/11/1999 0AM", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11/33/1999 0AM", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11/11/1999 AM", 4294967295, 80020005
|
||
|
VarUI4FromStr: "1/1/0 0AM", 4294967295, 80020005
|
||
|
VarUI4FromStr: "1/1/-1 0AM", 4294967295, 80020005
|
||
|
VarUI4FromStr: "1999 January 3 9AM", 4294967295, 80020005
|
||
|
VarUI4FromStr: "1 January 1999 11AM", 4294967295, 80020005
|
||
|
VarUI4FromStr: "4AM 11/11/1999", 4294967295, 80020005
|
||
|
VarUI4FromStr: "4:22 11/11/1999 AM", 4294967295, 80020005
|
||
|
VarUI4FromStr: " 1 1 /11/1999", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11-11/1999 11:11:11.12AM", 4294967295, 80020005
|
||
|
VarUI4FromStr: "1999 January 3, 9AM", 4294967295, 80020005
|
||
|
VarUI4FromStr: "December, 31, 2078", 4294967295, 80020005
|
||
|
VarUI4FromStr: "December, 31, 2078,", 4294967295, 80020005
|
||
|
VarUI4FromStr: "December, 31 2078", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11/99", 4294967295, 80020005
|
||
|
VarUI4FromStr: "11-1999", 4294967295, 80020005
|
||
|
VarUI4FromStr: "true", 4294967295, 80020005
|
||
|
VarUI4FromStr: "True", 4294967295, 80020005
|
||
|
VarUI4FromStr: "TRue", 4294967295, 80020005
|
||
|
VarUI4FromStr: "TRUE", 4294967295, 80020005
|
||
|
VarUI4FromStr: " TRUE", 4294967295, 80020005
|
||
|
VarUI4FromStr: "FALSE ", 4294967295, 80020005
|
||
|
VarUI4FromStr: "False", 4294967295, 80020005
|
||
|
VarUI4FromStr: "JustSomeText", 4294967295, 80020005
|
||
|
VarUI4FromStr: "Just Some Text", 4294967295, 80020005
|
||
|
VarUI4FromStr: "", 4294967295, 80020005
|
||
|
VarUI4FromStr: "1.5", 2, 0
|
||
|
VarUI4FromStr: "2.5", 2, 0
|
||
|
VarUI4FromStr: "3.5", 4, 0
|
||
|
VarUI4FromStr: "4.5", 4, 0
|
||
|
VarUI4FromStr: "", 4, 80020005
|
||
|
VarUI4FromStr: "", 4, 80020005
|
||
|
VarUI4FromStr: "", 4, 80020005
|
||
|
VarUI4FromStr: "", 4, 80020005
|
||
|
VarUI4FromStr: "", 4, 80020005
|
||
|
VarUI4FromStr: "", 4, 80020005
|
||
|
|
||
|
|
||
|
======== Testing VarI1FromXXX ========
|
||
|
VarI1FromBool: VARIANT_TRUE, 255, 0
|
||
|
VarI1FromBool: VARIANT_TRUE, -1, 0
|
||
|
VarI1FromBool: VARIANT_FALSE, 0, 0
|
||
|
VarI1FromUI1: 32767, 0, 8002000A
|
||
|
VarI1FromUI1: 65535, 0, 8002000A
|
||
|
VarI1FromI4: 32767, 0, 8002000A
|
||
|
VarI1FromI4: 32768, 0, 8002000A
|
||
|
VarI1FromI4: -32768, 0, 8002000A
|
||
|
VarI1FromI4: -32769, 0, 8002000A
|
||
|
VarI1FromR8: 69.33, 69, 0
|
||
|
VarI1FromR8: 69.66, 70, 0
|
||
|
VarI1FromR8: -69.33, -69, 0
|
||
|
VarI1FromR8: -69.66, -70, 0
|
||
|
VarI1FromDate: -69.66, -70, 0
|
||
|
VarI1FromStr: "-2", -2, 0
|
||
|
VarI1FromStr: "-1", -1, 0
|
||
|
VarI1FromStr: "-0.51", -1, 0
|
||
|
VarI1FromStr: "-0.5", 0, 0
|
||
|
VarI1FromStr: "-0.49", 0, 0
|
||
|
VarI1FromStr: "-0.0", 0, 0
|
||
|
VarI1FromStr: "0.0", 0, 0
|
||
|
VarI1FromStr: "0.49", 0, 0
|
||
|
VarI1FromStr: "0.5", 0, 0
|
||
|
VarI1FromStr: "0.51", 1, 0
|
||
|
VarI1FromStr: "1", 1, 0
|
||
|
VarI1FromStr: "127", 127, 0
|
||
|
VarI1FromStr: "128", 127, 8002000A
|
||
|
VarI1FromStr: "129", 127, 8002000A
|
||
|
VarI1FromStr: "255", 127, 8002000A
|
||
|
VarI1FromStr: "256", 127, 8002000A
|
||
|
VarI1FromStr: "257", 127, 8002000A
|
||
|
VarI1FromStr: "32767", 127, 8002000A
|
||
|
VarI1FromStr: "32768", 127, 8002000A
|
||
|
VarI1FromStr: "-32768", 127, 8002000A
|
||
|
VarI1FromStr: "-32769", 127, 8002000A
|
||
|
VarI1FromStr: "16777216", 127, 8002000A
|
||
|
VarI1FromStr: "16777217", 127, 8002000A
|
||
|
VarI1FromStr: "-16777216", 127, 8002000A
|
||
|
VarI1FromStr: "16777217", 127, 8002000A
|
||
|
VarI1FromStr: "2147483647", 127, 8002000A
|
||
|
VarI1FromStr: "2147483648", 127, 8002000A
|
||
|
VarI1FromStr: "-2147483647", 127, 8002000A
|
||
|
VarI1FromStr: "-2147483648", 127, 8002000A
|
||
|
VarI1FromStr: "", 127, 80020005
|
||
|
VarI1FromStr: " ", 127, 80020005
|
||
|
VarI1FromStr: "1F", 127, 80020005
|
||
|
VarI1FromStr: "1G", 127, 80020005
|
||
|
VarI1FromStr: " 1 ", 1, 0
|
||
|
VarI1FromStr: " 1 2 ", 1, 80020005
|
||
|
VarI1FromStr: "1,2,3", 123, 0
|
||
|
VarI1FromStr: "1 2 3", 123, 80020005
|
||
|
VarI1FromStr: "1,2, 3", 123, 80020005
|
||
|
VarI1FromStr: "1;2;3", 123, 80020005
|
||
|
VarI1FromStr: "1.2.3", 123, 80020005
|
||
|
VarI1FromStr: "0.", 0, 0
|
||
|
VarI1FromStr: ".0", 0, 0
|
||
|
VarI1FromStr: "0.1E12", 0, 8002000A
|
||
|
VarI1FromStr: "2.4,E1", 24, 0
|
||
|
VarI1FromStr: " +3.2,E1", 32, 0
|
||
|
VarI1FromStr: "4E2.5", 32, 80020005
|
||
|
VarI1FromStr: " 2E+2", 32, 8002000A
|
||
|
VarI1FromStr: "1 E+2", 32, 80020005
|
||
|
VarI1FromStr: ".", 32, 80020005
|
||
|
VarI1FromStr: ".E2", 32, 80020005
|
||
|
VarI1FromStr: "1000000000000000000000000000000000000000000000000000000000000000", 32, 8002000A
|
||
|
VarI1FromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 0
|
||
|
VarI1FromStr: "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 0
|
||
|
VarI1FromStr: "100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 8002000A
|
||
|
VarI1FromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 0
|
||
|
VarI1FromStr: "65535", 1, 8002000A
|
||
|
VarI1FromStr: "65535.5", 1, 8002000A
|
||
|
VarI1FromStr: "65536", 1, 8002000A
|
||
|
VarI1FromStr: "4294967295", 1, 8002000A
|
||
|
VarI1FromStr: "4294967296", 1, 8002000A
|
||
|
VarI1FromStr: "1 January 99", 1, 80020005
|
||
|
VarI1FromStr: "December 31, 2078", 1, 80020005
|
||
|
VarI1FromStr: "January 1, 1900", 1, 80020005
|
||
|
VarI1FromStr: "January 2 1900", 1, 80020005
|
||
|
VarI1FromStr: "11.11.1999", 1, 80020005
|
||
|
VarI1FromStr: "11/11/1999", 1, 80020005
|
||
|
VarI1FromStr: " 11 / 11 / 1999", 1, 80020005
|
||
|
VarI1FromStr: "11/11/1999:11:11:1134", 1, 80020005
|
||
|
VarI1FromStr: "11/11/1999 11:11:11:1", 1, 80020005
|
||
|
VarI1FromStr: " 1999/ 11/21 11 :11:11am", 1, 80020005
|
||
|
VarI1FromStr: "11/11/1999 11:11:11Am", 1, 80020005
|
||
|
VarI1FromStr: "11/11/1999 11:11:11PM", 1, 80020005
|
||
|
VarI1FromStr: "11/11/199911:11:11PM", 1, 80020005
|
||
|
VarI1FromStr: "11/11/1999 0:0:11am", 1, 80020005
|
||
|
VarI1FromStr: "11/11/1999 11,11:11am", 1, 80020005
|
||
|
VarI1FromStr: "11/11/1999 11:11:11am", 1, 80020005
|
||
|
VarI1FromStr: "11/11/1999 11/11:11am", 1, 80020005
|
||
|
VarI1FromStr: "11/11/1999 11:11AM", 1, 80020005
|
||
|
VarI1FromStr: "11/11/1999 1AM", 1, 80020005
|
||
|
VarI1FromStr: "11/11/1999 0AM", 1, 80020005
|
||
|
VarI1FromStr: "11/11/1999 11:11:11", 1, 80020005
|
||
|
VarI1FromStr: "11/13/1999 0AM", 1, 80020005
|
||
|
VarI1FromStr: "13/13/1999 0AM", 1, 80020005
|
||
|
VarI1FromStr: "13/11/1999 0AM", 1, 80020005
|
||
|
VarI1FromStr: "11/33/1999 0AM", 1, 80020005
|
||
|
VarI1FromStr: "11/11/1999 AM", 1, 80020005
|
||
|
VarI1FromStr: "1/1/0 0AM", 1, 80020005
|
||
|
VarI1FromStr: "1/1/-1 0AM", 1, 80020005
|
||
|
VarI1FromStr: "1999 January 3 9AM", 1, 80020005
|
||
|
VarI1FromStr: "1 January 1999 11AM", 1, 80020005
|
||
|
VarI1FromStr: "4AM 11/11/1999", 1, 80020005
|
||
|
VarI1FromStr: "4:22 11/11/1999 AM", 1, 80020005
|
||
|
VarI1FromStr: " 1 1 /11/1999", 1, 80020005
|
||
|
VarI1FromStr: "11-11/1999 11:11:11.12AM", 1, 80020005
|
||
|
VarI1FromStr: "1999 January 3, 9AM", 1, 80020005
|
||
|
VarI1FromStr: "December, 31, 2078", 1, 80020005
|
||
|
VarI1FromStr: "December, 31, 2078,", 1, 80020005
|
||
|
VarI1FromStr: "December, 31 2078", 1, 80020005
|
||
|
VarI1FromStr: "11/99", 1, 80020005
|
||
|
VarI1FromStr: "11-1999", 1, 80020005
|
||
|
VarI1FromStr: "true", 1, 80020005
|
||
|
VarI1FromStr: "True", 1, 80020005
|
||
|
VarI1FromStr: "TRue", 1, 80020005
|
||
|
VarI1FromStr: "TRUE", 1, 80020005
|
||
|
VarI1FromStr: " TRUE", 1, 80020005
|
||
|
VarI1FromStr: "FALSE ", 1, 80020005
|
||
|
VarI1FromStr: "False", 1, 80020005
|
||
|
VarI1FromStr: "JustSomeText", 1, 80020005
|
||
|
VarI1FromStr: "Just Some Text", 1, 80020005
|
||
|
VarI1FromStr: "", 1, 80020005
|
||
|
VarI1FromStr: "1.5", 2, 0
|
||
|
VarI1FromStr: "2.5", 2, 0
|
||
|
VarI1FromStr: "3.5", 4, 0
|
||
|
VarI1FromStr: "4.5", 4, 0
|
||
|
VarI1FromStr: "", 4, 80020005
|
||
|
VarI1FromStr: "", 4, 80020005
|
||
|
VarI1FromStr: "", 4, 80020005
|
||
|
VarI1FromStr: "", 4, 80020005
|
||
|
VarI1FromStr: "", 4, 80020005
|
||
|
VarI1FromStr: "", 4, 80020005
|
||
|
|
||
|
|
||
|
======== Testing VarI2FromXXX ========
|
||
|
VarI2FromUI2: 32767, 32767, 0
|
||
|
VarI2FromUI2: 65535, 32767, 8002000A
|
||
|
VarI2FromI4: 32767, 32767, 0
|
||
|
VarI2FromI4: 32768, 32767, 8002000A
|
||
|
VarI2FromI4: -32768, -32768, 0
|
||
|
VarI2FromI4: -32769, -32768, 8002000A
|
||
|
VarI2FromR8: 69.33, 69, 0
|
||
|
VarI2FromR8: 69.66, 70, 0
|
||
|
VarI2FromR8: -69.33, -69, 0
|
||
|
VarI2FromR8: -69.66, -70, 0
|
||
|
VarI2FromDate: -69.66, -70, 0
|
||
|
VarI2FromStr: "-2", -2, 0
|
||
|
VarI2FromStr: "-1", -1, 0
|
||
|
VarI2FromStr: "-0.51", -1, 0
|
||
|
VarI2FromStr: "-0.5", 0, 0
|
||
|
VarI2FromStr: "-0.49", 0, 0
|
||
|
VarI2FromStr: "-0.0", 0, 0
|
||
|
VarI2FromStr: "0.0", 0, 0
|
||
|
VarI2FromStr: "0.49", 0, 0
|
||
|
VarI2FromStr: "0.5", 0, 0
|
||
|
VarI2FromStr: "0.51", 1, 0
|
||
|
VarI2FromStr: "1", 1, 0
|
||
|
VarI2FromStr: "127", 127, 0
|
||
|
VarI2FromStr: "128", 128, 0
|
||
|
VarI2FromStr: "129", 129, 0
|
||
|
VarI2FromStr: "255", 255, 0
|
||
|
VarI2FromStr: "256", 256, 0
|
||
|
VarI2FromStr: "257", 257, 0
|
||
|
VarI2FromStr: "32767", 32767, 0
|
||
|
VarI2FromStr: "32768", 32767, 8002000A
|
||
|
VarI2FromStr: "-32768", -32768, 0
|
||
|
VarI2FromStr: "-32769", -32768, 8002000A
|
||
|
VarI2FromStr: "16777216", -32768, 8002000A
|
||
|
VarI2FromStr: "16777217", -32768, 8002000A
|
||
|
VarI2FromStr: "-16777216", -32768, 8002000A
|
||
|
VarI2FromStr: "16777217", -32768, 8002000A
|
||
|
VarI2FromStr: "2147483647", -32768, 8002000A
|
||
|
VarI2FromStr: "2147483648", -32768, 8002000A
|
||
|
VarI2FromStr: "-2147483647", -32768, 8002000A
|
||
|
VarI2FromStr: "-2147483648", -32768, 8002000A
|
||
|
VarI2FromStr: "", -32768, 80020005
|
||
|
VarI2FromStr: " ", -32768, 80020005
|
||
|
VarI2FromStr: "1F", -32768, 80020005
|
||
|
VarI2FromStr: "1G", -32768, 80020005
|
||
|
VarI2FromStr: " 1 ", 1, 0
|
||
|
VarI2FromStr: " 1 2 ", 1, 80020005
|
||
|
VarI2FromStr: "1,2,3", 123, 0
|
||
|
VarI2FromStr: "1 2 3", 123, 80020005
|
||
|
VarI2FromStr: "1,2, 3", 123, 80020005
|
||
|
VarI2FromStr: "1;2;3", 123, 80020005
|
||
|
VarI2FromStr: "1.2.3", 123, 80020005
|
||
|
VarI2FromStr: "0.", 0, 0
|
||
|
VarI2FromStr: ".0", 0, 0
|
||
|
VarI2FromStr: "0.1E12", 0, 8002000A
|
||
|
VarI2FromStr: "2.4,E1", 24, 0
|
||
|
VarI2FromStr: " +3.2,E1", 32, 0
|
||
|
VarI2FromStr: "4E2.5", 32, 80020005
|
||
|
VarI2FromStr: " 2E+2", 200, 0
|
||
|
VarI2FromStr: "1 E+2", 200, 80020005
|
||
|
VarI2FromStr: ".", 200, 80020005
|
||
|
VarI2FromStr: ".E2", 200, 80020005
|
||
|
VarI2FromStr: "1000000000000000000000000000000000000000000000000000000000000000", 200, 8002000A
|
||
|
VarI2FromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 0
|
||
|
VarI2FromStr: "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 0
|
||
|
VarI2FromStr: "100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 8002000A
|
||
|
VarI2FromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 0
|
||
|
VarI2FromStr: "65535", 1, 8002000A
|
||
|
VarI2FromStr: "65535.5", 1, 8002000A
|
||
|
VarI2FromStr: "65536", 1, 8002000A
|
||
|
VarI2FromStr: "4294967295", 1, 8002000A
|
||
|
VarI2FromStr: "4294967296", 1, 8002000A
|
||
|
VarI2FromStr: "1 January 99", 1, 80020005
|
||
|
VarI2FromStr: "December 31, 2078", 1, 80020005
|
||
|
VarI2FromStr: "January 1, 1900", 1, 80020005
|
||
|
VarI2FromStr: "January 2 1900", 1, 80020005
|
||
|
VarI2FromStr: "11.11.1999", 1, 80020005
|
||
|
VarI2FromStr: "11/11/1999", 1, 80020005
|
||
|
VarI2FromStr: " 11 / 11 / 1999", 1, 80020005
|
||
|
VarI2FromStr: "11/11/1999:11:11:1134", 1, 80020005
|
||
|
VarI2FromStr: "11/11/1999 11:11:11:1", 1, 80020005
|
||
|
VarI2FromStr: " 1999/ 11/21 11 :11:11am", 1, 80020005
|
||
|
VarI2FromStr: "11/11/1999 11:11:11Am", 1, 80020005
|
||
|
VarI2FromStr: "11/11/1999 11:11:11PM", 1, 80020005
|
||
|
VarI2FromStr: "11/11/199911:11:11PM", 1, 80020005
|
||
|
VarI2FromStr: "11/11/1999 0:0:11am", 1, 80020005
|
||
|
VarI2FromStr: "11/11/1999 11,11:11am", 1, 80020005
|
||
|
VarI2FromStr: "11/11/1999 11:11:11am", 1, 80020005
|
||
|
VarI2FromStr: "11/11/1999 11/11:11am", 1, 80020005
|
||
|
VarI2FromStr: "11/11/1999 11:11AM", 1, 80020005
|
||
|
VarI2FromStr: "11/11/1999 1AM", 1, 80020005
|
||
|
VarI2FromStr: "11/11/1999 0AM", 1, 80020005
|
||
|
VarI2FromStr: "11/11/1999 11:11:11", 1, 80020005
|
||
|
VarI2FromStr: "11/13/1999 0AM", 1, 80020005
|
||
|
VarI2FromStr: "13/13/1999 0AM", 1, 80020005
|
||
|
VarI2FromStr: "13/11/1999 0AM", 1, 80020005
|
||
|
VarI2FromStr: "11/33/1999 0AM", 1, 80020005
|
||
|
VarI2FromStr: "11/11/1999 AM", 1, 80020005
|
||
|
VarI2FromStr: "1/1/0 0AM", 1, 80020005
|
||
|
VarI2FromStr: "1/1/-1 0AM", 1, 80020005
|
||
|
VarI2FromStr: "1999 January 3 9AM", 1, 80020005
|
||
|
VarI2FromStr: "1 January 1999 11AM", 1, 80020005
|
||
|
VarI2FromStr: "4AM 11/11/1999", 1, 80020005
|
||
|
VarI2FromStr: "4:22 11/11/1999 AM", 1, 80020005
|
||
|
VarI2FromStr: " 1 1 /11/1999", 1, 80020005
|
||
|
VarI2FromStr: "11-11/1999 11:11:11.12AM", 1, 80020005
|
||
|
VarI2FromStr: "1999 January 3, 9AM", 1, 80020005
|
||
|
VarI2FromStr: "December, 31, 2078", 1, 80020005
|
||
|
VarI2FromStr: "December, 31, 2078,", 1, 80020005
|
||
|
VarI2FromStr: "December, 31 2078", 1, 80020005
|
||
|
VarI2FromStr: "11/99", 1, 80020005
|
||
|
VarI2FromStr: "11-1999", 1, 80020005
|
||
|
VarI2FromStr: "true", 1, 80020005
|
||
|
VarI2FromStr: "True", 1, 80020005
|
||
|
VarI2FromStr: "TRue", 1, 80020005
|
||
|
VarI2FromStr: "TRUE", 1, 80020005
|
||
|
VarI2FromStr: " TRUE", 1, 80020005
|
||
|
VarI2FromStr: "FALSE ", 1, 80020005
|
||
|
VarI2FromStr: "False", 1, 80020005
|
||
|
VarI2FromStr: "JustSomeText", 1, 80020005
|
||
|
VarI2FromStr: "Just Some Text", 1, 80020005
|
||
|
VarI2FromStr: "", 1, 80020005
|
||
|
VarI2FromStr: "1.5", 2, 0
|
||
|
VarI2FromStr: "2.5", 2, 0
|
||
|
VarI2FromStr: "3.5", 4, 0
|
||
|
VarI2FromStr: "4.5", 4, 0
|
||
|
VarI2FromStr: "", 4, 80020005
|
||
|
VarI2FromStr: "", 4, 80020005
|
||
|
VarI2FromStr: "", 4, 80020005
|
||
|
VarI2FromStr: "", 4, 80020005
|
||
|
VarI2FromStr: "", 4, 80020005
|
||
|
VarI2FromStr: "", 4, 80020005
|
||
|
|
||
|
|
||
|
======== Testing VarI4FromXXX ========
|
||
|
VarIntFromI2: 3, 3, 0
|
||
|
VarI4FromR8: 69.33, 69, 0
|
||
|
VarI4FromR8: 69.66, 70, 0
|
||
|
VarI4FromR8: -69.33, -69, 0
|
||
|
VarI4FromR8: -69.66, -70, 0
|
||
|
VarI4FromR8: 2147483647.0, 2147483647, 0
|
||
|
VarI4FromR8: 2147483648.0, 2147483647, 8002000A
|
||
|
VarI4FromR8: -2147483647.0, -2147483647, 0
|
||
|
VarI4FromR8: -2147483648.0, -2147483648, 0
|
||
|
VarI4FromR8: -2147483649.0, -2147483648, 8002000A
|
||
|
VarI4FromDate: -2147483649.0, -2147483648, 8002000A
|
||
|
VarI4FromStr: "-2", -2, 0
|
||
|
VarI4FromStr: "-1", -1, 0
|
||
|
VarI4FromStr: "-0.51", -1, 0
|
||
|
VarI4FromStr: "-0.5", 0, 0
|
||
|
VarI4FromStr: "-0.49", 0, 0
|
||
|
VarI4FromStr: "-0.0", 0, 0
|
||
|
VarI4FromStr: "0.0", 0, 0
|
||
|
VarI4FromStr: "0.49", 0, 0
|
||
|
VarI4FromStr: "0.5", 0, 0
|
||
|
VarI4FromStr: "0.51", 1, 0
|
||
|
VarI4FromStr: "1", 1, 0
|
||
|
VarI4FromStr: "127", 127, 0
|
||
|
VarI4FromStr: "128", 128, 0
|
||
|
VarI4FromStr: "129", 129, 0
|
||
|
VarI4FromStr: "255", 255, 0
|
||
|
VarI4FromStr: "256", 256, 0
|
||
|
VarI4FromStr: "257", 257, 0
|
||
|
VarI4FromStr: "32767", 32767, 0
|
||
|
VarI4FromStr: "32768", 32768, 0
|
||
|
VarI4FromStr: "-32768", -32768, 0
|
||
|
VarI4FromStr: "-32769", -32769, 0
|
||
|
VarI4FromStr: "16777216", 16777216, 0
|
||
|
VarI4FromStr: "16777217", 16777217, 0
|
||
|
VarI4FromStr: "-16777216", -16777216, 0
|
||
|
VarI4FromStr: "16777217", 16777217, 0
|
||
|
VarI4FromStr: "2147483647", 2147483647, 0
|
||
|
VarI4FromStr: "2147483648", 2147483647, 8002000A
|
||
|
VarI4FromStr: "-2147483647", -2147483647, 0
|
||
|
VarI4FromStr: "-2147483648", -2147483648, 0
|
||
|
VarI4FromStr: "", -2147483648, 80020005
|
||
|
VarI4FromStr: " ", -2147483648, 80020005
|
||
|
VarI4FromStr: "1F", -2147483648, 80020005
|
||
|
VarI4FromStr: "1G", -2147483648, 80020005
|
||
|
VarI4FromStr: " 1 ", 1, 0
|
||
|
VarI4FromStr: " 1 2 ", 1, 80020005
|
||
|
VarI4FromStr: "1,2,3", 123, 0
|
||
|
VarI4FromStr: "1 2 3", 123, 80020005
|
||
|
VarI4FromStr: "1,2, 3", 123, 80020005
|
||
|
VarI4FromStr: "1;2;3", 123, 80020005
|
||
|
VarI4FromStr: "1.2.3", 123, 80020005
|
||
|
VarI4FromStr: "0.", 0, 0
|
||
|
VarI4FromStr: ".0", 0, 0
|
||
|
VarI4FromStr: "0.1E12", 0, 8002000A
|
||
|
VarI4FromStr: "2.4,E1", 24, 0
|
||
|
VarI4FromStr: " +3.2,E1", 32, 0
|
||
|
VarI4FromStr: "4E2.5", 32, 80020005
|
||
|
VarI4FromStr: " 2E+2", 200, 0
|
||
|
VarI4FromStr: "1 E+2", 200, 80020005
|
||
|
VarI4FromStr: ".", 200, 80020005
|
||
|
VarI4FromStr: ".E2", 200, 80020005
|
||
|
VarI4FromStr: "1000000000000000000000000000000000000000000000000000000000000000", 200, 8002000A
|
||
|
VarI4FromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 0
|
||
|
VarI4FromStr: "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 0
|
||
|
VarI4FromStr: "100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 8002000A
|
||
|
VarI4FromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1, 0
|
||
|
VarI4FromStr: "65535", 65535, 0
|
||
|
VarI4FromStr: "65535.5", 65536, 0
|
||
|
VarI4FromStr: "65536", 65536, 0
|
||
|
VarI4FromStr: "4294967295", 65536, 8002000A
|
||
|
VarI4FromStr: "4294967296", 65536, 8002000A
|
||
|
VarI4FromStr: "1 January 99", 65536, 80020005
|
||
|
VarI4FromStr: "December 31, 2078", 65536, 80020005
|
||
|
VarI4FromStr: "January 1, 1900", 65536, 80020005
|
||
|
VarI4FromStr: "January 2 1900", 65536, 80020005
|
||
|
VarI4FromStr: "11.11.1999", 65536, 80020005
|
||
|
VarI4FromStr: "11/11/1999", 65536, 80020005
|
||
|
VarI4FromStr: " 11 / 11 / 1999", 65536, 80020005
|
||
|
VarI4FromStr: "11/11/1999:11:11:1134", 65536, 80020005
|
||
|
VarI4FromStr: "11/11/1999 11:11:11:1", 65536, 80020005
|
||
|
VarI4FromStr: " 1999/ 11/21 11 :11:11am", 65536, 80020005
|
||
|
VarI4FromStr: "11/11/1999 11:11:11Am", 65536, 80020005
|
||
|
VarI4FromStr: "11/11/1999 11:11:11PM", 65536, 80020005
|
||
|
VarI4FromStr: "11/11/199911:11:11PM", 65536, 80020005
|
||
|
VarI4FromStr: "11/11/1999 0:0:11am", 65536, 80020005
|
||
|
VarI4FromStr: "11/11/1999 11,11:11am", 65536, 80020005
|
||
|
VarI4FromStr: "11/11/1999 11:11:11am", 65536, 80020005
|
||
|
VarI4FromStr: "11/11/1999 11/11:11am", 65536, 80020005
|
||
|
VarI4FromStr: "11/11/1999 11:11AM", 65536, 80020005
|
||
|
VarI4FromStr: "11/11/1999 1AM", 65536, 80020005
|
||
|
VarI4FromStr: "11/11/1999 0AM", 65536, 80020005
|
||
|
VarI4FromStr: "11/11/1999 11:11:11", 65536, 80020005
|
||
|
VarI4FromStr: "11/13/1999 0AM", 65536, 80020005
|
||
|
VarI4FromStr: "13/13/1999 0AM", 65536, 80020005
|
||
|
VarI4FromStr: "13/11/1999 0AM", 65536, 80020005
|
||
|
VarI4FromStr: "11/33/1999 0AM", 65536, 80020005
|
||
|
VarI4FromStr: "11/11/1999 AM", 65536, 80020005
|
||
|
VarI4FromStr: "1/1/0 0AM", 65536, 80020005
|
||
|
VarI4FromStr: "1/1/-1 0AM", 65536, 80020005
|
||
|
VarI4FromStr: "1999 January 3 9AM", 65536, 80020005
|
||
|
VarI4FromStr: "1 January 1999 11AM", 65536, 80020005
|
||
|
VarI4FromStr: "4AM 11/11/1999", 65536, 80020005
|
||
|
VarI4FromStr: "4:22 11/11/1999 AM", 65536, 80020005
|
||
|
VarI4FromStr: " 1 1 /11/1999", 65536, 80020005
|
||
|
VarI4FromStr: "11-11/1999 11:11:11.12AM", 65536, 80020005
|
||
|
VarI4FromStr: "1999 January 3, 9AM", 65536, 80020005
|
||
|
VarI4FromStr: "December, 31, 2078", 65536, 80020005
|
||
|
VarI4FromStr: "December, 31, 2078,", 65536, 80020005
|
||
|
VarI4FromStr: "December, 31 2078", 65536, 80020005
|
||
|
VarI4FromStr: "11/99", 65536, 80020005
|
||
|
VarI4FromStr: "11-1999", 65536, 80020005
|
||
|
VarI4FromStr: "true", 65536, 80020005
|
||
|
VarI4FromStr: "True", 65536, 80020005
|
||
|
VarI4FromStr: "TRue", 65536, 80020005
|
||
|
VarI4FromStr: "TRUE", 65536, 80020005
|
||
|
VarI4FromStr: " TRUE", 65536, 80020005
|
||
|
VarI4FromStr: "FALSE ", 65536, 80020005
|
||
|
VarI4FromStr: "False", 65536, 80020005
|
||
|
VarI4FromStr: "JustSomeText", 65536, 80020005
|
||
|
VarI4FromStr: "Just Some Text", 65536, 80020005
|
||
|
VarI4FromStr: "", 65536, 80020005
|
||
|
VarI4FromStr: "1.5", 2, 0
|
||
|
VarI4FromStr: "2.5", 2, 0
|
||
|
VarI4FromStr: "3.5", 4, 0
|
||
|
VarI4FromStr: "4.5", 4, 0
|
||
|
VarI4FromStr: "", 4, 80020005
|
||
|
VarI4FromStr: "", 4, 80020005
|
||
|
VarI4FromStr: "", 4, 80020005
|
||
|
VarI4FromStr: "", 4, 80020005
|
||
|
VarI4FromStr: "", 4, 80020005
|
||
|
VarI4FromStr: "", 4, 80020005
|
||
|
|
||
|
|
||
|
======== Testing VarR4FromXXX ========
|
||
|
VarR4FromI4: 16777216, 16777216.000000, 0
|
||
|
VarR4FromI4: 16777217, 16777216.000000, 0
|
||
|
VarR4FromI4: -16777216, -16777216.000000, 0
|
||
|
VarR4FromI4: -16777217, -16777216.000000, 0
|
||
|
VarR4FromR8: 16777216.0, 16777216.000000, 0
|
||
|
VarR4FromR8: 16777217.0, 16777216.000000, 0
|
||
|
VarR4FromR8: -16777216.0, -16777216.000000, 0
|
||
|
VarR4FromR8: -16777217.0, -16777216.000000, 0
|
||
|
VarR4FromR8: 16777218e31, 167772177736353110000000000000000000000.000000, 0
|
||
|
VarR4FromR8: 16777218e32, 167772177736353110000000000000000000000.000000, 8002000A
|
||
|
VarR4FromDate: 16777218e31, 167772177736353110000000000000000000000.000000, 0
|
||
|
VarR4FromStr: "-2", -2.000000, 0
|
||
|
VarR4FromStr: "-1", -1.000000, 0
|
||
|
VarR4FromStr: "-0.51", -0.510000, 0
|
||
|
VarR4FromStr: "-0.5", -0.500000, 0
|
||
|
VarR4FromStr: "-0.49", -0.490000, 0
|
||
|
VarR4FromStr: "-0.0", 0.000000, 0
|
||
|
VarR4FromStr: "0.0", 0.000000, 0
|
||
|
VarR4FromStr: "0.49", 0.490000, 0
|
||
|
VarR4FromStr: "0.5", 0.500000, 0
|
||
|
VarR4FromStr: "0.51", 0.510000, 0
|
||
|
VarR4FromStr: "1", 1.000000, 0
|
||
|
VarR4FromStr: "127", 127.000000, 0
|
||
|
VarR4FromStr: "128", 128.000000, 0
|
||
|
VarR4FromStr: "129", 129.000000, 0
|
||
|
VarR4FromStr: "255", 255.000000, 0
|
||
|
VarR4FromStr: "256", 256.000000, 0
|
||
|
VarR4FromStr: "257", 257.000000, 0
|
||
|
VarR4FromStr: "32767", 32767.000000, 0
|
||
|
VarR4FromStr: "32768", 32768.000000, 0
|
||
|
VarR4FromStr: "-32768", -32768.000000, 0
|
||
|
VarR4FromStr: "-32769", -32769.000000, 0
|
||
|
VarR4FromStr: "16777216", 16777216.000000, 0
|
||
|
VarR4FromStr: "16777217", 16777216.000000, 0
|
||
|
VarR4FromStr: "-16777216", -16777216.000000, 0
|
||
|
VarR4FromStr: "16777217", 16777216.000000, 0
|
||
|
VarR4FromStr: "2147483647", 2147483648.000000, 0
|
||
|
VarR4FromStr: "2147483648", 2147483648.000000, 0
|
||
|
VarR4FromStr: "-2147483647", -2147483648.000000, 0
|
||
|
VarR4FromStr: "-2147483648", -2147483648.000000, 0
|
||
|
VarR4FromStr: "", -2147483648.000000, 80020005
|
||
|
VarR4FromStr: " ", -2147483648.000000, 80020005
|
||
|
VarR4FromStr: "1F", -2147483648.000000, 80020005
|
||
|
VarR4FromStr: "1G", -2147483648.000000, 80020005
|
||
|
VarR4FromStr: " 1 ", 1.000000, 0
|
||
|
VarR4FromStr: " 1 2 ", 1.000000, 80020005
|
||
|
VarR4FromStr: "1,2,3", 123.000000, 0
|
||
|
VarR4FromStr: "1 2 3", 123.000000, 80020005
|
||
|
VarR4FromStr: "1,2, 3", 123.000000, 80020005
|
||
|
VarR4FromStr: "1;2;3", 123.000000, 80020005
|
||
|
VarR4FromStr: "1.2.3", 123.000000, 80020005
|
||
|
VarR4FromStr: "0.", 0.000000, 0
|
||
|
VarR4FromStr: ".0", 0.000000, 0
|
||
|
VarR4FromStr: "0.1E12", 99999997952.000000, 0
|
||
|
VarR4FromStr: "2.4,E1", 24.000000, 0
|
||
|
VarR4FromStr: " +3.2,E1", 32.000000, 0
|
||
|
VarR4FromStr: "4E2.5", 32.000000, 80020005
|
||
|
VarR4FromStr: " 2E+2", 200.000000, 0
|
||
|
VarR4FromStr: "1 E+2", 200.000000, 80020005
|
||
|
VarR4FromStr: ".", 200.000000, 80020005
|
||
|
VarR4FromStr: ".E2", 200.000000, 80020005
|
||
|
VarR4FromStr: "1000000000000000000000000000000000000000000000000000000000000000", 200.000000, 8002000A
|
||
|
VarR4FromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1.000000, 0
|
||
|
VarR4FromStr: "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1.000000, 0
|
||
|
VarR4FromStr: "100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1.000000, 8002000A
|
||
|
VarR4FromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1.000000, 0
|
||
|
VarR4FromStr: "65535", 65535.000000, 0
|
||
|
VarR4FromStr: "65535.5", 65535.500000, 0
|
||
|
VarR4FromStr: "65536", 65536.000000, 0
|
||
|
VarR4FromStr: "4294967295", 4294967296.000000, 0
|
||
|
VarR4FromStr: "4294967296", 4294967296.000000, 0
|
||
|
VarR4FromStr: "1 January 99", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "December 31, 2078", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "January 1, 1900", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "January 2 1900", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11.11.1999", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11/11/1999", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: " 11 / 11 / 1999", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11/11/1999:11:11:1134", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11/11/1999 11:11:11:1", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: " 1999/ 11/21 11 :11:11am", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11/11/1999 11:11:11Am", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11/11/1999 11:11:11PM", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11/11/199911:11:11PM", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11/11/1999 0:0:11am", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11/11/1999 11,11:11am", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11/11/1999 11:11:11am", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11/11/1999 11/11:11am", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11/11/1999 11:11AM", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11/11/1999 1AM", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11/11/1999 0AM", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11/11/1999 11:11:11", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11/13/1999 0AM", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "13/13/1999 0AM", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "13/11/1999 0AM", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11/33/1999 0AM", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11/11/1999 AM", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "1/1/0 0AM", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "1/1/-1 0AM", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "1999 January 3 9AM", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "1 January 1999 11AM", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "4AM 11/11/1999", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "4:22 11/11/1999 AM", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: " 1 1 /11/1999", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11-11/1999 11:11:11.12AM", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "1999 January 3, 9AM", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "December, 31, 2078", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "December, 31, 2078,", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "December, 31 2078", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11/99", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "11-1999", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "true", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "True", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "TRue", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "TRUE", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: " TRUE", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "FALSE ", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "False", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "JustSomeText", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "Just Some Text", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "", 4294967296.000000, 80020005
|
||
|
VarR4FromStr: "1.5", 1.500000, 0
|
||
|
VarR4FromStr: "2.5", 2.500000, 0
|
||
|
VarR4FromStr: "3.5", 3.500000, 0
|
||
|
VarR4FromStr: "4.5", 4.500000, 0
|
||
|
VarR4FromStr: "", 4.500000, 80020005
|
||
|
VarR4FromStr: "", 4.500000, 80020005
|
||
|
VarR4FromStr: "", 4.500000, 80020005
|
||
|
VarR4FromStr: "", 4.500000, 80020005
|
||
|
VarR4FromStr: "", 4.500000, 80020005
|
||
|
VarR4FromStr: "", 4.500000, 80020005
|
||
|
|
||
|
|
||
|
======== Testing VarR8FromXXX ========
|
||
|
VarR8FromDate: 900719925474099.0, 900719925474099.000000, 0
|
||
|
VarR8FromStr: "-2", -2.000000, 0
|
||
|
VarR8FromStr: "-1", -1.000000, 0
|
||
|
VarR8FromStr: "-0.51", -0.510000, 0
|
||
|
VarR8FromStr: "-0.5", -0.500000, 0
|
||
|
VarR8FromStr: "-0.49", -0.490000, 0
|
||
|
VarR8FromStr: "-0.0", 0.000000, 0
|
||
|
VarR8FromStr: "0.0", 0.000000, 0
|
||
|
VarR8FromStr: "0.49", 0.490000, 0
|
||
|
VarR8FromStr: "0.5", 0.500000, 0
|
||
|
VarR8FromStr: "0.51", 0.510000, 0
|
||
|
VarR8FromStr: "1", 1.000000, 0
|
||
|
VarR8FromStr: "127", 127.000000, 0
|
||
|
VarR8FromStr: "128", 128.000000, 0
|
||
|
VarR8FromStr: "129", 129.000000, 0
|
||
|
VarR8FromStr: "255", 255.000000, 0
|
||
|
VarR8FromStr: "256", 256.000000, 0
|
||
|
VarR8FromStr: "257", 257.000000, 0
|
||
|
VarR8FromStr: "32767", 32767.000000, 0
|
||
|
VarR8FromStr: "32768", 32768.000000, 0
|
||
|
VarR8FromStr: "-32768", -32768.000000, 0
|
||
|
VarR8FromStr: "-32769", -32769.000000, 0
|
||
|
VarR8FromStr: "16777216", 16777216.000000, 0
|
||
|
VarR8FromStr: "16777217", 16777217.000000, 0
|
||
|
VarR8FromStr: "-16777216", -16777216.000000, 0
|
||
|
VarR8FromStr: "16777217", 16777217.000000, 0
|
||
|
VarR8FromStr: "2147483647", 2147483647.000000, 0
|
||
|
VarR8FromStr: "2147483648", 2147483648.000000, 0
|
||
|
VarR8FromStr: "-2147483647", -2147483647.000000, 0
|
||
|
VarR8FromStr: "-2147483648", -2147483648.000000, 0
|
||
|
VarR8FromStr: "", -2147483648.000000, 80020005
|
||
|
VarR8FromStr: " ", -2147483648.000000, 80020005
|
||
|
VarR8FromStr: "1F", -2147483648.000000, 80020005
|
||
|
VarR8FromStr: "1G", -2147483648.000000, 80020005
|
||
|
VarR8FromStr: " 1 ", 1.000000, 0
|
||
|
VarR8FromStr: " 1 2 ", 1.000000, 80020005
|
||
|
VarR8FromStr: "1,2,3", 123.000000, 0
|
||
|
VarR8FromStr: "1 2 3", 123.000000, 80020005
|
||
|
VarR8FromStr: "1,2, 3", 123.000000, 80020005
|
||
|
VarR8FromStr: "1;2;3", 123.000000, 80020005
|
||
|
VarR8FromStr: "1.2.3", 123.000000, 80020005
|
||
|
VarR8FromStr: "0.", 0.000000, 0
|
||
|
VarR8FromStr: ".0", 0.000000, 0
|
||
|
VarR8FromStr: "0.1E12", 100000000000.000000, 0
|
||
|
VarR8FromStr: "2.4,E1", 24.000000, 0
|
||
|
VarR8FromStr: " +3.2,E1", 32.000000, 0
|
||
|
VarR8FromStr: "4E2.5", 32.000000, 80020005
|
||
|
VarR8FromStr: " 2E+2", 200.000000, 0
|
||
|
VarR8FromStr: "1 E+2", 200.000000, 80020005
|
||
|
VarR8FromStr: ".", 200.000000, 80020005
|
||
|
VarR8FromStr: ".E2", 200.000000, 80020005
|
||
|
VarR8FromStr: "1000000000000000000000000000000000000000000000000000000000000000", 1000000000000000100000000000000000000000000000000000000000000000.000000, 0
|
||
|
VarR8FromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1.000000, 0
|
||
|
VarR8FromStr: "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1.000000, 0
|
||
|
VarR8FromStr: "100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 99999999999999997000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.000000, 0
|
||
|
VarR8FromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 1.000000, 0
|
||
|
VarR8FromStr: "65535", 65535.000000, 0
|
||
|
VarR8FromStr: "65535.5", 65535.500000, 0
|
||
|
VarR8FromStr: "65536", 65536.000000, 0
|
||
|
VarR8FromStr: "4294967295", 4294967295.000000, 0
|
||
|
VarR8FromStr: "4294967296", 4294967296.000000, 0
|
||
|
VarR8FromStr: "1 January 99", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "December 31, 2078", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "January 1, 1900", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "January 2 1900", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11.11.1999", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11/11/1999", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: " 11 / 11 / 1999", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11/11/1999:11:11:1134", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11/11/1999 11:11:11:1", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: " 1999/ 11/21 11 :11:11am", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11/11/1999 11:11:11Am", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11/11/1999 11:11:11PM", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11/11/199911:11:11PM", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11/11/1999 0:0:11am", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11/11/1999 11,11:11am", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11/11/1999 11:11:11am", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11/11/1999 11/11:11am", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11/11/1999 11:11AM", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11/11/1999 1AM", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11/11/1999 0AM", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11/11/1999 11:11:11", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11/13/1999 0AM", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "13/13/1999 0AM", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "13/11/1999 0AM", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11/33/1999 0AM", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11/11/1999 AM", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "1/1/0 0AM", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "1/1/-1 0AM", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "1999 January 3 9AM", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "1 January 1999 11AM", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "4AM 11/11/1999", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "4:22 11/11/1999 AM", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: " 1 1 /11/1999", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11-11/1999 11:11:11.12AM", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "1999 January 3, 9AM", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "December, 31, 2078", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "December, 31, 2078,", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "December, 31 2078", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11/99", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "11-1999", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "true", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "True", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "TRue", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "TRUE", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: " TRUE", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "FALSE ", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "False", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "JustSomeText", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "Just Some Text", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "", 4294967296.000000, 80020005
|
||
|
VarR8FromStr: "1.5", 1.500000, 0
|
||
|
VarR8FromStr: "2.5", 2.500000, 0
|
||
|
VarR8FromStr: "3.5", 3.500000, 0
|
||
|
VarR8FromStr: "4.5", 4.500000, 0
|
||
|
VarR8FromStr: "", 4.500000, 80020005
|
||
|
VarR8FromStr: "", 4.500000, 80020005
|
||
|
VarR8FromStr: "", 4.500000, 80020005
|
||
|
VarR8FromStr: "", 4.500000, 80020005
|
||
|
VarR8FromStr: "", 4.500000, 80020005
|
||
|
VarR8FromStr: "", 4.500000, 80020005
|
||
|
|
||
|
|
||
|
======== Testing VarDateFromXXX ========
|
||
|
VarDateFromI4: 2958465, 2958465.000000, 0
|
||
|
VarDateFromI4: 2958466, 2958465.000000, 8002000A
|
||
|
VarDateFromI4: -657434, -657434.000000, 0
|
||
|
VarDateFromI4: -657435, -657434.000000, 8002000A
|
||
|
VarDateFromR8: 2958465.9999, 2958465.999900, 0
|
||
|
VarDateFromR8: 2958466, 2958465.999900, 8002000A
|
||
|
VarDateFromR8: -657434.9999, -657434.999900, 0
|
||
|
VarDateFromR8: -657435, -657434.999900, 8002000A
|
||
|
VarDateFromR8: 0.0, 0.000000, 0
|
||
|
VarDateFromR8: 1.0, 1.000000, 0
|
||
|
VarDateFromR8: 2.25, 2.250000, 0
|
||
|
VarDateFromR8: -2.0, -2.000000, 0
|
||
|
VarDateFromStr: "-2", -2.000000, 80020005
|
||
|
VarDateFromStr: "-1", -2.000000, 80020005
|
||
|
VarDateFromStr: "-0.51", -2.000000, 80020005
|
||
|
VarDateFromStr: "-0.5", -2.000000, 80020005
|
||
|
VarDateFromStr: "-0.49", -2.000000, 80020005
|
||
|
VarDateFromStr: "-0.0", -2.000000, 80020005
|
||
|
VarDateFromStr: "0.0", 0.000000, 0
|
||
|
VarDateFromStr: "0.49", 0.034028, 0
|
||
|
VarDateFromStr: "0.5", 0.003472, 0
|
||
|
VarDateFromStr: "0.51", 0.035417, 0
|
||
|
VarDateFromStr: "1", 0.035417, 80020005
|
||
|
VarDateFromStr: "127", 0.035417, 80020005
|
||
|
VarDateFromStr: "128", 0.035417, 80020005
|
||
|
VarDateFromStr: "129", 0.035417, 80020005
|
||
|
VarDateFromStr: "255", 0.035417, 80020005
|
||
|
VarDateFromStr: "256", 0.035417, 80020005
|
||
|
VarDateFromStr: "257", 0.035417, 80020005
|
||
|
VarDateFromStr: "32767", 0.035417, 80020005
|
||
|
VarDateFromStr: "32768", 0.035417, 80020005
|
||
|
VarDateFromStr: "-32768", 0.035417, 80020005
|
||
|
VarDateFromStr: "-32769", 0.035417, 80020005
|
||
|
VarDateFromStr: "16777216", 0.035417, 80020005
|
||
|
VarDateFromStr: "16777217", 0.035417, 80020005
|
||
|
VarDateFromStr: "-16777216", 0.035417, 80020005
|
||
|
VarDateFromStr: "16777217", 0.035417, 80020005
|
||
|
VarDateFromStr: "2147483647", 0.035417, 80020005
|
||
|
VarDateFromStr: "2147483648", 0.035417, 80020005
|
||
|
VarDateFromStr: "-2147483647", 0.035417, 80020005
|
||
|
VarDateFromStr: "-2147483648", 0.035417, 80020005
|
||
|
VarDateFromStr: "", 0.035417, 80020005
|
||
|
VarDateFromStr: " ", 0.035417, 80020005
|
||
|
VarDateFromStr: "1F", 0.035417, 80020005
|
||
|
VarDateFromStr: "1G", 0.035417, 80020005
|
||
|
VarDateFromStr: " 1 ", 0.035417, 80020005
|
||
|
VarDateFromStr: " 1 2 ", 35797.000000, 0
|
||
|
VarDateFromStr: "1,2,3", 37623.000000, 0
|
||
|
VarDateFromStr: "1 2 3", 37623.000000, 0
|
||
|
VarDateFromStr: "1,2, 3", 37623.000000, 0
|
||
|
VarDateFromStr: "1;2;3", 37623.000000, 80020005
|
||
|
VarDateFromStr: "1.2.3", 0.043090, 0
|
||
|
VarDateFromStr: "0.", 0.043090, 80020005
|
||
|
VarDateFromStr: ".0", 0.043090, 80020005
|
||
|
VarDateFromStr: "0.1E12", 0.043090, 80020005
|
||
|
VarDateFromStr: "2.4,E1", 0.043090, 80020005
|
||
|
VarDateFromStr: " +3.2,E1", 0.043090, 80020005
|
||
|
VarDateFromStr: "4E2.5", 0.043090, 80020005
|
||
|
VarDateFromStr: " 2E+2", 0.043090, 80020005
|
||
|
VarDateFromStr: "1 E+2", 0.043090, 80020005
|
||
|
VarDateFromStr: ".", 0.043090, 80020005
|
||
|
VarDateFromStr: ".E2", 0.043090, 80020005
|
||
|
VarDateFromStr: "1000000000000000000000000000000000000000000000000000000000000000", 0.043090, 80020005
|
||
|
VarDateFromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 0.043090, 80020005
|
||
|
VarDateFromStr: "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 0.043090, 80020005
|
||
|
VarDateFromStr: "100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 0.043090, 80020005
|
||
|
VarDateFromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", 0.043090, 80020005
|
||
|
VarDateFromStr: "65535", 0.043090, 80020005
|
||
|
VarDateFromStr: "65535.5", 0.043090, 80020005
|
||
|
VarDateFromStr: "65536", 0.043090, 80020005
|
||
|
VarDateFromStr: "4294967295", 0.043090, 80020005
|
||
|
VarDateFromStr: "4294967296", 0.043090, 80020005
|
||
|
VarDateFromStr: "1 January 99", 36161.000000, 0
|
||
|
VarDateFromStr: "December 31, 2078", 65380.000000, 0
|
||
|
VarDateFromStr: "January 1, 1900", 2.000000, 0
|
||
|
VarDateFromStr: "January 2 1900", 3.000000, 0
|
||
|
VarDateFromStr: "11.11.1999", 3.000000, 80020005
|
||
|
VarDateFromStr: "11/11/1999", 36475.000000, 0
|
||
|
VarDateFromStr: " 11 / 11 / 1999", 36475.000000, 0
|
||
|
VarDateFromStr: "11/11/1999:11:11:1134", 36475.000000, 80020005
|
||
|
VarDateFromStr: "11/11/1999 11:11:11:1", 36475.000000, 80020005
|
||
|
VarDateFromStr: " 1999/ 11/21 11 :11:11am", 36485.466100, 0
|
||
|
VarDateFromStr: "11/11/1999 11:11:11Am", 36475.466100, 0
|
||
|
VarDateFromStr: "11/11/1999 11:11:11PM", 36475.966100, 0
|
||
|
VarDateFromStr: "11/11/199911:11:11PM", 36475.966100, 80020005
|
||
|
VarDateFromStr: "11/11/1999 0:0:11am", 36475.000127, 0
|
||
|
VarDateFromStr: "11/11/1999 11,11:11am", 36475.000127, 80020005
|
||
|
VarDateFromStr: "11/11/1999 11:11:11am", 36475.466100, 0
|
||
|
VarDateFromStr: "11/11/1999 11/11:11am", 36475.466100, 80020005
|
||
|
VarDateFromStr: "11/11/1999 11:11AM", 36475.465972, 0
|
||
|
VarDateFromStr: "11/11/1999 1AM", 36475.041667, 0
|
||
|
VarDateFromStr: "11/11/1999 0AM", 36475.000000, 0
|
||
|
VarDateFromStr: "11/11/1999 11:11:11", 36475.466100, 0
|
||
|
VarDateFromStr: "11/13/1999 0AM", 36477.000000, 0
|
||
|
VarDateFromStr: "13/13/1999 0AM", 36477.000000, 80020005
|
||
|
VarDateFromStr: "13/11/1999 0AM", 36477.000000, 0
|
||
|
VarDateFromStr: "11/33/1999 0AM", 36477.000000, 80020005
|
||
|
VarDateFromStr: "11/11/1999 AM", 36477.000000, 80020005
|
||
|
VarDateFromStr: "1/1/0 0AM", 36526.000000, 0
|
||
|
VarDateFromStr: "1/1/-1 0AM", 36526.000000, 80020005
|
||
|
VarDateFromStr: "1999 January 3 9AM", 36163.375000, 0
|
||
|
VarDateFromStr: "1 January 1999 11AM", 36161.458333, 0
|
||
|
VarDateFromStr: "4AM 11/11/1999", 36475.166667, 0
|
||
|
VarDateFromStr: "4:22 11/11/1999 AM", 36475.166667, 80020005
|
||
|
VarDateFromStr: " 1 1 /11/1999", 36475.166667, 80020005
|
||
|
VarDateFromStr: "11-11/1999 11:11:11.12AM", 36475.166667, 80020005
|
||
|
VarDateFromStr: "1999 January 3, 9AM", 36475.166667, 80020005
|
||
|
VarDateFromStr: "December, 31, 2078", 65380.000000, 0
|
||
|
VarDateFromStr: "December, 31, 2078,", 65380.000000, 80020005
|
||
|
VarDateFromStr: "December, 31 2078", 65380.000000, 0
|
||
|
VarDateFromStr: "11/99", 36465.000000, 0
|
||
|
VarDateFromStr: "11-1999", 36465.000000, 0
|
||
|
VarDateFromStr: "true", 36465.000000, 80020005
|
||
|
VarDateFromStr: "True", 36465.000000, 80020005
|
||
|
VarDateFromStr: "TRue", 36465.000000, 80020005
|
||
|
VarDateFromStr: "TRUE", 36465.000000, 80020005
|
||
|
VarDateFromStr: " TRUE", 36465.000000, 80020005
|
||
|
VarDateFromStr: "FALSE ", 36465.000000, 80020005
|
||
|
VarDateFromStr: "False", 36465.000000, 80020005
|
||
|
VarDateFromStr: "JustSomeText", 36465.000000, 80020005
|
||
|
VarDateFromStr: "Just Some Text", 36465.000000, 80020005
|
||
|
VarDateFromStr: "", 36465.000000, 80020005
|
||
|
VarDateFromStr: "1.5", 0.045139, 0
|
||
|
VarDateFromStr: "2.5", 0.086806, 0
|
||
|
VarDateFromStr: "3.5", 0.128472, 0
|
||
|
VarDateFromStr: "4.5", 0.170139, 0
|
||
|
VarDateFromStr: "", 0.170139, 80020005
|
||
|
VarDateFromStr: "", 0.170139, 80020005
|
||
|
VarDateFromStr: "", 0.170139, 80020005
|
||
|
VarDateFromStr: "", 0.170139, 80020005
|
||
|
VarDateFromStr: "", 0.170139, 80020005
|
||
|
VarDateFromStr: "", 0.170139, 80020005
|
||
|
|
||
|
|
||
|
======== Testing VarBoolFromXXX ========
|
||
|
VarBoolFromI4: 0, 0, 0
|
||
|
VarBoolFromI4: 1, -1, 0
|
||
|
VarBoolFromI4: -1, -1, 0
|
||
|
VarBoolFromI4: 2, -1, 0
|
||
|
VarBoolFromUI1: ' ', -1, 0
|
||
|
VarBoolFromUI1: '\0', 0, 0
|
||
|
VarBoolFromUI1: 0x0000, 0, 0
|
||
|
VarBoolFromUI1: 0xFFF, -1, 0
|
||
|
VarBoolFromUI1: 0xFFFF, -1, 0
|
||
|
VarBoolFromR8: 0.0, 0, 0
|
||
|
VarBoolFromR8: 1.1, -1, 0
|
||
|
VarBoolFromR8: 0.5, -1, 0
|
||
|
VarBoolFromR8: 0.49, -1, 0
|
||
|
VarBoolFromR8: 0.51, -1, 0
|
||
|
VarBoolFromR8: -0.5, -1, 0
|
||
|
VarBoolFromR8: -0.49, -1, 0
|
||
|
VarBoolFromR8: -0.51, -1, 0
|
||
|
VarBoolFromStr: "-2", -1, 0
|
||
|
VarBoolFromStr: "-1", -1, 0
|
||
|
VarBoolFromStr: "-0.51", -1, 0
|
||
|
VarBoolFromStr: "-0.5", -1, 0
|
||
|
VarBoolFromStr: "-0.49", -1, 0
|
||
|
VarBoolFromStr: "-0.0", 0, 0
|
||
|
VarBoolFromStr: "0.0", 0, 0
|
||
|
VarBoolFromStr: "0.49", -1, 0
|
||
|
VarBoolFromStr: "0.5", -1, 0
|
||
|
VarBoolFromStr: "0.51", -1, 0
|
||
|
VarBoolFromStr: "1", -1, 0
|
||
|
VarBoolFromStr: "127", -1, 0
|
||
|
VarBoolFromStr: "128", -1, 0
|
||
|
VarBoolFromStr: "129", -1, 0
|
||
|
VarBoolFromStr: "255", -1, 0
|
||
|
VarBoolFromStr: "256", -1, 0
|
||
|
VarBoolFromStr: "257", -1, 0
|
||
|
VarBoolFromStr: "32767", -1, 0
|
||
|
VarBoolFromStr: "32768", -1, 0
|
||
|
VarBoolFromStr: "-32768", -1, 0
|
||
|
VarBoolFromStr: "-32769", -1, 0
|
||
|
VarBoolFromStr: "16777216", -1, 0
|
||
|
VarBoolFromStr: "16777217", -1, 0
|
||
|
VarBoolFromStr: "-16777216", -1, 0
|
||
|
VarBoolFromStr: "16777217", -1, 0
|
||
|
VarBoolFromStr: "2147483647", -1, 0
|
||
|
VarBoolFromStr: "2147483648", -1, 0
|
||
|
VarBoolFromStr: "-2147483647", -1, 0
|
||
|
VarBoolFromStr: "-2147483648", -1, 0
|
||
|
VarBoolFromStr: "", -1, 80020005
|
||
|
VarBoolFromStr: " ", -1, 80020005
|
||
|
VarBoolFromStr: "1F", -1, 80020005
|
||
|
VarBoolFromStr: "1G", -1, 80020005
|
||
|
VarBoolFromStr: " 1 ", -1, 0
|
||
|
VarBoolFromStr: " 1 2 ", -1, 80020005
|
||
|
VarBoolFromStr: "1,2,3", -1, 0
|
||
|
VarBoolFromStr: "1 2 3", -1, 80020005
|
||
|
VarBoolFromStr: "1,2, 3", -1, 80020005
|
||
|
VarBoolFromStr: "1;2;3", -1, 80020005
|
||
|
VarBoolFromStr: "1.2.3", -1, 80020005
|
||
|
VarBoolFromStr: "0.", 0, 0
|
||
|
VarBoolFromStr: ".0", 0, 0
|
||
|
VarBoolFromStr: "0.1E12", -1, 0
|
||
|
VarBoolFromStr: "2.4,E1", -1, 0
|
||
|
VarBoolFromStr: " +3.2,E1", -1, 0
|
||
|
VarBoolFromStr: "4E2.5", -1, 80020005
|
||
|
VarBoolFromStr: " 2E+2", -1, 0
|
||
|
VarBoolFromStr: "1 E+2", -1, 80020005
|
||
|
VarBoolFromStr: ".", -1, 80020005
|
||
|
VarBoolFromStr: ".E2", -1, 80020005
|
||
|
VarBoolFromStr: "1000000000000000000000000000000000000000000000000000000000000000", -1, 0
|
||
|
VarBoolFromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", -1, 0
|
||
|
VarBoolFromStr: "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", -1, 0
|
||
|
VarBoolFromStr: "100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", -1, 0
|
||
|
VarBoolFromStr: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", -1, 0
|
||
|
VarBoolFromStr: "65535", -1, 0
|
||
|
VarBoolFromStr: "65535.5", -1, 0
|
||
|
VarBoolFromStr: "65536", -1, 0
|
||
|
VarBoolFromStr: "4294967295", -1, 0
|
||
|
VarBoolFromStr: "4294967296", -1, 0
|
||
|
VarBoolFromStr: "1 January 99", -1, 80020005
|
||
|
VarBoolFromStr: "December 31, 2078", -1, 80020005
|
||
|
VarBoolFromStr: "January 1, 1900", -1, 80020005
|
||
|
VarBoolFromStr: "January 2 1900", -1, 80020005
|
||
|
VarBoolFromStr: "11.11.1999", -1, 80020005
|
||
|
VarBoolFromStr: "11/11/1999", -1, 80020005
|
||
|
VarBoolFromStr: " 11 / 11 / 1999", -1, 80020005
|
||
|
VarBoolFromStr: "11/11/1999:11:11:1134", -1, 80020005
|
||
|
VarBoolFromStr: "11/11/1999 11:11:11:1", -1, 80020005
|
||
|
VarBoolFromStr: " 1999/ 11/21 11 :11:11am", -1, 80020005
|
||
|
VarBoolFromStr: "11/11/1999 11:11:11Am", -1, 80020005
|
||
|
VarBoolFromStr: "11/11/1999 11:11:11PM", -1, 80020005
|
||
|
VarBoolFromStr: "11/11/199911:11:11PM", -1, 80020005
|
||
|
VarBoolFromStr: "11/11/1999 0:0:11am", -1, 80020005
|
||
|
VarBoolFromStr: "11/11/1999 11,11:11am", -1, 80020005
|
||
|
VarBoolFromStr: "11/11/1999 11:11:11am", -1, 80020005
|
||
|
VarBoolFromStr: "11/11/1999 11/11:11am", -1, 80020005
|
||
|
VarBoolFromStr: "11/11/1999 11:11AM", -1, 80020005
|
||
|
VarBoolFromStr: "11/11/1999 1AM", -1, 80020005
|
||
|
VarBoolFromStr: "11/11/1999 0AM", -1, 80020005
|
||
|
VarBoolFromStr: "11/11/1999 11:11:11", -1, 80020005
|
||
|
VarBoolFromStr: "11/13/1999 0AM", -1, 80020005
|
||
|
VarBoolFromStr: "13/13/1999 0AM", -1, 80020005
|
||
|
VarBoolFromStr: "13/11/1999 0AM", -1, 80020005
|
||
|
VarBoolFromStr: "11/33/1999 0AM", -1, 80020005
|
||
|
VarBoolFromStr: "11/11/1999 AM", -1, 80020005
|
||
|
VarBoolFromStr: "1/1/0 0AM", -1, 80020005
|
||
|
VarBoolFromStr: "1/1/-1 0AM", -1, 80020005
|
||
|
VarBoolFromStr: "1999 January 3 9AM", -1, 80020005
|
||
|
VarBoolFromStr: "1 January 1999 11AM", -1, 80020005
|
||
|
VarBoolFromStr: "4AM 11/11/1999", -1, 80020005
|
||
|
VarBoolFromStr: "4:22 11/11/1999 AM", -1, 80020005
|
||
|
VarBoolFromStr: " 1 1 /11/1999", -1, 80020005
|
||
|
VarBoolFromStr: "11-11/1999 11:11:11.12AM", -1, 80020005
|
||
|
VarBoolFromStr: "1999 January 3, 9AM", -1, 80020005
|
||
|
VarBoolFromStr: "December, 31, 2078", -1, 80020005
|
||
|
VarBoolFromStr: "December, 31, 2078,", -1, 80020005
|
||
|
VarBoolFromStr: "December, 31 2078", -1, 80020005
|
||
|
VarBoolFromStr: "11/99", -1, 80020005
|
||
|
VarBoolFromStr: "11-1999", -1, 80020005
|
||
|
VarBoolFromStr: "true", -1, 0
|
||
|
VarBoolFromStr: "True", -1, 0
|
||
|
VarBoolFromStr: "TRue", -1, 0
|
||
|
VarBoolFromStr: "TRUE", -1, 0
|
||
|
VarBoolFromStr: " TRUE", -1, 80020005
|
||
|
VarBoolFromStr: "FALSE ", -1, 80020005
|
||
|
VarBoolFromStr: "False", 0, 0
|
||
|
VarBoolFromStr: "JustSomeText", 0, 80020005
|
||
|
VarBoolFromStr: "Just Some Text", 0, 80020005
|
||
|
VarBoolFromStr: "", 0, 80020005
|
||
|
VarBoolFromStr: "1.5", -1, 0
|
||
|
VarBoolFromStr: "2.5", -1, 0
|
||
|
VarBoolFromStr: "3.5", -1, 0
|
||
|
VarBoolFromStr: "4.5", -1, 0
|
||
|
VarBoolFromStr: "", -1, 80020005
|
||
|
VarBoolFromStr: "", -1, 80020005
|
||
|
VarBoolFromStr: "", -1, 80020005
|
||
|
VarBoolFromStr: "", -1, 80020005
|
||
|
VarBoolFromStr: "", -1, 80020005
|
||
|
VarBoolFromStr: "", -1, 80020005
|
||
|
VarI1FromBool: VARIANT_TRUE, 255, 0
|
||
|
VarUI2FromI2: -1, 0, 8002000A
|
||
|
|
||
|
|
||
|
======== Testing VarBSTRFromXXX ========
|
||
|
VarBstrFromI1: -100, "-100", 0
|
||
|
VarBstrFromUI1: 0x5A, "90", 0
|
||
|
VarBstrFromI4: 2958465, "2958465", 0
|
||
|
VarBstrFromR8: 1.000000, "1", 0
|
||
|
VarBstrFromR8: -1.000000, "-1", 0
|
||
|
VarBstrFromR8: 21.000000, "21", 0
|
||
|
VarBstrFromR8: -21.000000, "-21", 0
|
||
|
VarBstrFromR8: 321.000000, "321", 0
|
||
|
VarBstrFromR8: -321.000000, "-321", 0
|
||
|
VarBstrFromR8: 4321.000000, "4321", 0
|
||
|
VarBstrFromR8: -4321.000000, "-4321", 0
|
||
|
VarBstrFromR8: 54321.000000, "54321", 0
|
||
|
VarBstrFromR8: -54321.000000, "-54321", 0
|
||
|
VarBstrFromR8: 654321.000000, "654321", 0
|
||
|
VarBstrFromR8: -654321.000000, "-654321", 0
|
||
|
VarBstrFromR8: 7654321.000000, "7654321", 0
|
||
|
VarBstrFromR8: -7654321.000000, "-7654321", 0
|
||
|
VarBstrFromR8: 87654321.000000, "87654321", 0
|
||
|
VarBstrFromR8: -87654321.000000, "-87654321", 0
|
||
|
VarBstrFromR8: 987654321.000000, "987654321", 0
|
||
|
VarBstrFromR8: -987654321.000000, "-987654321", 0
|
||
|
VarBstrFromR8: 1987654321.000000, "1987654321", 0
|
||
|
VarBstrFromR8: -1987654321.000000, "-1987654321", 0
|
||
|
VarBstrFromR8: 21987654321.000000, "21987654321", 0
|
||
|
VarBstrFromR8: -21987654321.000000, "-21987654321", 0
|
||
|
VarBstrFromR8: 321987654321.000000, "321987654321", 0
|
||
|
VarBstrFromR8: -321987654321.000000, "-321987654321", 0
|
||
|
VarBstrFromR8: 4321987654321.000000, "4321987654321", 0
|
||
|
VarBstrFromR8: -4321987654321.000000, "-4321987654321", 0
|
||
|
VarBstrFromR8: 54321987654321.000000, "54321987654321", 0
|
||
|
VarBstrFromR8: -54321987654321.000000, "-54321987654321", 0
|
||
|
VarBstrFromR8: 654321987654321.000000, "654321987654321", 0
|
||
|
VarBstrFromR8: -654321987654321.000000, "-654321987654321", 0
|
||
|
VarBstrFromR8: 7654321987654321.000000, "7.65432198765432e+15", 0
|
||
|
VarBstrFromR8: -7654321987654321.000000, "-7.65432198765432e+15", 0
|
||
|
VarBstrFromR8: 87654321987654320.000000, "8.76543219876543e+16", 0
|
||
|
VarBstrFromR8: -87654321987654320.000000, "-8.76543219876543e+16", 0
|
||
|
VarBstrFromR8: 987654321987654270.000000, "9.87654321987654e+17", 0
|
||
|
VarBstrFromR8: -987654321987654270.000000, "-9.87654321987654e+17", 0
|
||
|
VarBstrFromR8: 1987654321987654100.000000, "1.98765432198765e+18", 0
|
||
|
VarBstrFromR8: -1987654321987654100.000000, "-1.98765432198765e+18", 0
|
||
|
VarBstrFromR8: 21987654321987654000.000000, "2.19876543219877e+19", 0
|
||
|
VarBstrFromR8: -21987654321987654000.000000, "-2.19876543219877e+19", 0
|
||
|
VarBstrFromR8: 1.000000, "1", 0
|
||
|
VarBstrFromR8: 0.000000, "0", 0
|
||
|
VarBstrFromR8: -1.000000, "-1", 0
|
||
|
VarBstrFromR8: 1.200000, "1.2", 0
|
||
|
VarBstrFromR8: 0.200000, "0.2", 0
|
||
|
VarBstrFromR8: -1.200000, "-1.2", 0
|
||
|
VarBstrFromR8: 1.230000, "1.23", 0
|
||
|
VarBstrFromR8: 0.230000, "0.23", 0
|
||
|
VarBstrFromR8: -1.230000, "-1.23", 0
|
||
|
VarBstrFromR8: 1.234000, "1.234", 0
|
||
|
VarBstrFromR8: 0.234000, "0.234", 0
|
||
|
VarBstrFromR8: -1.234000, "-1.234", 0
|
||
|
VarBstrFromR8: 1.234500, "1.2345", 0
|
||
|
VarBstrFromR8: 0.234500, "0.2345", 0
|
||
|
VarBstrFromR8: -1.234500, "-1.2345", 0
|
||
|
VarBstrFromR8: 1.234560, "1.23456", 0
|
||
|
VarBstrFromR8: 0.234560, "0.23456", 0
|
||
|
VarBstrFromR8: -1.234560, "-1.23456", 0
|
||
|
VarBstrFromR8: 1.234567, "1.234567", 0
|
||
|
VarBstrFromR8: 0.234567, "0.234567", 0
|
||
|
VarBstrFromR8: -1.234567, "-1.234567", 0
|
||
|
VarBstrFromR8: 1.234568, "1.2345678", 0
|
||
|
VarBstrFromR8: 0.234568, "0.2345678", 0
|
||
|
VarBstrFromR8: -1.234568, "-1.2345678", 0
|
||
|
VarBstrFromR8: 1.234568, "1.23456789", 0
|
||
|
VarBstrFromR8: 0.234568, "0.23456789", 0
|
||
|
VarBstrFromR8: -1.234568, "-1.23456789", 0
|
||
|
VarBstrFromR8: 1.234568, "1.234567891", 0
|
||
|
VarBstrFromR8: 0.234568, "0.234567891", 0
|
||
|
VarBstrFromR8: -1.234568, "-1.234567891", 0
|
||
|
VarBstrFromR8: 1.234568, "1.2345678912", 0
|
||
|
VarBstrFromR8: 0.234568, "0.2345678912", 0
|
||
|
VarBstrFromR8: -1.234568, "-1.2345678912", 0
|
||
|
VarBstrFromR8: 1.234568, "1.23456789123", 0
|
||
|
VarBstrFromR8: 0.234568, "0.23456789123", 0
|
||
|
VarBstrFromR8: -1.234568, "-1.23456789123", 0
|
||
|
VarBstrFromR8: 1.234568, "1.234567891234", 0
|
||
|
VarBstrFromR8: 0.234568, "0.234567891234", 0
|
||
|
VarBstrFromR8: -1.234568, "-1.234567891234", 0
|
||
|
VarBstrFromR8: 1.234568, "1.2345678912345", 0
|
||
|
VarBstrFromR8: 0.234568, "0.2345678912345", 0
|
||
|
VarBstrFromR8: -1.234568, "-1.2345678912345", 0
|
||
|
VarBstrFromR8: 1.234568, "1.23456789123456", 0
|
||
|
VarBstrFromR8: 0.234568, "0.23456789123456", 0
|
||
|
VarBstrFromR8: -1.234568, "-1.23456789123456", 0
|
||
|
VarBstrFromR8: 1.234568, "1.23456789123457", 0
|
||
|
VarBstrFromR8: 0.234568, "0.234567891234567", 0
|
||
|
VarBstrFromR8: -1.234568, "-1.23456789123457", 0
|
||
|
VarBstrFromR8: 1.234568, "1.23456789123457", 0
|
||
|
VarBstrFromR8: 0.234568, "0.234567891234568", 0
|
||
|
VarBstrFromR8: -1.234568, "-1.23456789123457", 0
|
||
|
VarBstrFromR8: 1.234568, "1.23456789123457", 0
|
||
|
VarBstrFromR8: 0.234568, "0.234567891234568", 0
|
||
|
VarBstrFromR8: -1.234568, "-1.23456789123457", 0
|
||
|
VarBstrFromR8: 1.234568, "1.23456789123457", 0
|
||
|
VarBstrFromR8: 0.234568, "0.234567891234568", 0
|
||
|
VarBstrFromR8: -1.234568, "-1.23456789123457", 0
|
||
|
VarBstrFromR8: 1.234568, "1.23456789123457", 0
|
||
|
VarBstrFromR8: 0.234568, "0.234567891234568", 0
|
||
|
VarBstrFromR8: -1.234568, "-1.23456789123457", 0
|
||
|
VarBstrFromR8: 2.000000, "2", 0
|
||
|
VarBstrFromR8: -2.000000, "-2", 0
|
||
|
VarBstrFromR8: 22.200000, "22.2", 0
|
||
|
VarBstrFromR8: -22.200000, "-22.2", 0
|
||
|
VarBstrFromR8: 322.230000, "322.23", 0
|
||
|
VarBstrFromR8: -322.230000, "-322.23", 0
|
||
|
VarBstrFromR8: 4322.234000, "4322.234", 0
|
||
|
VarBstrFromR8: -4322.234000, "-4322.234", 0
|
||
|
VarBstrFromR8: 54322.234500, "54322.2345", 0
|
||
|
VarBstrFromR8: -54322.234500, "-54322.2345", 0
|
||
|
VarBstrFromR8: 654322.234560, "654322.23456", 0
|
||
|
VarBstrFromR8: -654322.234560, "-654322.23456", 0
|
||
|
VarBstrFromR8: 7654322.234567, "7654322.234567", 0
|
||
|
VarBstrFromR8: -7654322.234567, "-7654322.234567", 0
|
||
|
VarBstrFromR8: 87654322.234568, "87654322.2345678", 0
|
||
|
VarBstrFromR8: -87654322.234568, "-87654322.2345678", 0
|
||
|
VarBstrFromR8: 987654322.234568, "987654322.234568", 0
|
||
|
VarBstrFromR8: -987654322.234568, "-987654322.234568", 0
|
||
|
VarBstrFromR8: 1987654322.234568, "1987654322.23457", 0
|
||
|
VarBstrFromR8: -1987654322.234568, "-1987654322.23457", 0
|
||
|
VarBstrFromR8: 21987654322.234570, "21987654322.2346", 0
|
||
|
VarBstrFromR8: -21987654322.234570, "-21987654322.2346", 0
|
||
|
VarBstrFromR8: 321987654322.234560, "321987654322.235", 0
|
||
|
VarBstrFromR8: -321987654322.234560, "-321987654322.235", 0
|
||
|
VarBstrFromR8: 4321987654322.234400, "4321987654322.23", 0
|
||
|
VarBstrFromR8: -4321987654322.234400, "-4321987654322.23", 0
|
||
|
VarBstrFromR8: 54321987654322.234000, "54321987654322.2", 0
|
||
|
VarBstrFromR8: -54321987654322.234000, "-54321987654322.2", 0
|
||
|
VarBstrFromR8: 654321987654322.250000, "654321987654322", 0
|
||
|
VarBstrFromR8: -654321987654322.250000, "-654321987654322", 0
|
||
|
VarBstrFromR8: 7654321987654322.000000, "7.65432198765432e+15", 0
|
||
|
VarBstrFromR8: -7654321987654322.000000, "-7.65432198765432e+15", 0
|
||
|
VarBstrFromR8: 87654321987654320.000000, "8.76543219876543e+16", 0
|
||
|
VarBstrFromR8: -87654321987654320.000000, "-8.76543219876543e+16", 0
|
||
|
VarBstrFromR8: 987654321987654270.000000, "9.87654321987654e+17", 0
|
||
|
VarBstrFromR8: -987654321987654270.000000, "-9.87654321987654e+17", 0
|
||
|
VarBstrFromR8: 1987654321987654100.000000, "1.98765432198765e+18", 0
|
||
|
VarBstrFromR8: -1987654321987654100.000000, "-1.98765432198765e+18", 0
|
||
|
VarBstrFromR8: 21987654321987654000.000000, "2.19876543219877e+19", 0
|
||
|
VarBstrFromR8: -21987654321987654000.000000, "-2.19876543219877e+19", 0
|
||
|
VarBstrFromR4: 1.000000, "1", 0
|
||
|
VarBstrFromR4: -1.000000, "-1", 0
|
||
|
VarBstrFromR4: 21.000000, "21", 0
|
||
|
VarBstrFromR4: -21.000000, "-21", 0
|
||
|
VarBstrFromR4: 321.000000, "321", 0
|
||
|
VarBstrFromR4: -321.000000, "-321", 0
|
||
|
VarBstrFromR4: 4321.000000, "4321", 0
|
||
|
VarBstrFromR4: -4321.000000, "-4321", 0
|
||
|
VarBstrFromR4: 54321.000000, "54321", 0
|
||
|
VarBstrFromR4: -54321.000000, "-54321", 0
|
||
|
VarBstrFromR4: 654321.000000, "654321", 0
|
||
|
VarBstrFromR4: -654321.000000, "-654321", 0
|
||
|
VarBstrFromR4: 7654321.000000, "7654321", 0
|
||
|
VarBstrFromR4: -7654321.000000, "-7654321", 0
|
||
|
VarBstrFromR4: 87654321.000000, "8.765432e+07", 0
|
||
|
VarBstrFromR4: -87654321.000000, "-8.765432e+07", 0
|
||
|
VarBstrFromR4: 987654321.000000, "9.876543e+08", 0
|
||
|
VarBstrFromR4: -987654321.000000, "-9.876543e+08", 0
|
||
|
VarBstrFromR4: 1987654321.000000, "1.987654e+09", 0
|
||
|
VarBstrFromR4: -1987654321.000000, "-1.987654e+09", 0
|
||
|
VarBstrFromR4: 1.000000, "1", 0
|
||
|
VarBstrFromR4: 0.000000, "0", 0
|
||
|
VarBstrFromR4: -1.000000, "-1", 0
|
||
|
VarBstrFromR4: 1.200000, "1.2", 0
|
||
|
VarBstrFromR4: 0.200000, "0.2", 0
|
||
|
VarBstrFromR4: -1.200000, "-1.2", 0
|
||
|
VarBstrFromR4: 1.230000, "1.23", 0
|
||
|
VarBstrFromR4: 0.230000, "0.23", 0
|
||
|
VarBstrFromR4: -1.230000, "-1.23", 0
|
||
|
VarBstrFromR4: 1.234000, "1.234", 0
|
||
|
VarBstrFromR4: 0.234000, "0.234", 0
|
||
|
VarBstrFromR4: -1.234000, "-1.234", 0
|
||
|
VarBstrFromR4: 1.234500, "1.2345", 0
|
||
|
VarBstrFromR4: 0.234500, "0.2345", 0
|
||
|
VarBstrFromR4: -1.234500, "-1.2345", 0
|
||
|
VarBstrFromR4: 1.234560, "1.23456", 0
|
||
|
VarBstrFromR4: 0.234560, "0.23456", 0
|
||
|
VarBstrFromR4: -1.234560, "-1.23456", 0
|
||
|
VarBstrFromR4: 1.234567, "1.234567", 0
|
||
|
VarBstrFromR4: 0.234567, "0.234567", 0
|
||
|
VarBstrFromR4: -1.234567, "-1.234567", 0
|
||
|
VarBstrFromR4: 1.234568, "1.234568", 0
|
||
|
VarBstrFromR4: 0.234568, "0.2345678", 0
|
||
|
VarBstrFromR4: -1.234568, "-1.234568", 0
|
||
|
VarBstrFromR4: 1.234568, "1.234568", 0
|
||
|
VarBstrFromR4: 0.234568, "0.2345679", 0
|
||
|
VarBstrFromR4: -1.234568, "-1.234568", 0
|
||
|
VarBstrFromR4: 1.234568, "1.234568", 0
|
||
|
VarBstrFromR4: 0.234568, "0.2345679", 0
|
||
|
VarBstrFromR4: -1.234568, "-1.234568", 0
|
||
|
VarBstrFromR4: 2.000000, "2", 0
|
||
|
VarBstrFromR4: -2.000000, "-2", 0
|
||
|
VarBstrFromR4: 22.200000, "22.2", 0
|
||
|
VarBstrFromR4: -22.200000, "-22.2", 0
|
||
|
VarBstrFromR4: 322.230000, "322.23", 0
|
||
|
VarBstrFromR4: -322.230000, "-322.23", 0
|
||
|
VarBstrFromR4: 4322.234000, "4322.234", 0
|
||
|
VarBstrFromR4: -4322.234000, "-4322.234", 0
|
||
|
VarBstrFromR4: 54322.234500, "54322.23", 0
|
||
|
VarBstrFromR4: -54322.234500, "-54322.23", 0
|
||
|
VarBstrFromR4: 654322.234560, "654322.3", 0
|
||
|
VarBstrFromR4: -654322.234560, "-654322.3", 0
|
||
|
VarBstrFromR4: 7654322.234567, "7654322", 0
|
||
|
VarBstrFromR4: -7654322.234567, "-7654322", 0
|
||
|
VarBstrFromR4: 87654322.234568, "8.765432e+07", 0
|
||
|
VarBstrFromR4: -87654322.234568, "-8.765432e+07", 0
|
||
|
VarBstrFromR4: 987654322.234568, "9.876543e+08", 0
|
||
|
VarBstrFromR4: -987654322.234568, "-9.876543e+08", 0
|
||
|
VarBstrFromR4: 1987654322.234568, "1.987654e+09", 0
|
||
|
VarBstrFromR4: -1987654322.234568, "-1.987654e+09", 0
|
||
|
VarBstrFromBool: 0x00, "False", 0
|
||
|
VarBstrFromBool: 0xFF, "True", 0
|
||
|
VarBstrFromDate: 0.0, "12:00:00 AM", 0
|
||
|
VarBstrFromDate: 3.34, "1/2/1900 8:09:36 AM", 0
|
||
|
VarBstrFromDate: 3339.34, "2/20/1909 8:09:36 AM", 0
|
||
|
VarBstrFromDate: 365.00, "12/30/1900", 0
|
||
|
VarBstrFromDate: 365.25, "12/30/1900 6:00:00 AM", 0
|
||
|
VarBstrFromDate: 1461.00, "12/31/1903", 0
|
||
|
VarBstrFromDate: 1461.5, "12/31/1903 12:00:00 PM", 0
|
||
|
VarBstrFromBool: 0x00, "False", 0
|
||
|
VarBstrFromBool: 0xFF, "True", 0
|
||
|
VarBstrFromDate: 0.0, "12:00:00 AM", 0
|
||
|
VarBstrFromDate: 3.34, "1/2/1900 8:09:36 AM", 0
|
||
|
|
||
|
|
||
|
======== Testing Hi-Level Variant API ========
|
||
|
Result is: 80020008
|
||
|
VariantClear: 0
|
||
|
VariantClear: 0
|
||
|
VariantCopy: 0
|
||
|
VariantClear: 0
|
||
|
VariantClear: 0
|
||
|
VariantCopy 4.123000 -> 4.123000: 0
|
||
|
VariantCopyInd 31.123000: 0
|
||
|
VariantCopy 1.123000 -> 1.123000: 0
|
||
|
VariantCopy 123.123000 -> 123.123000: 0
|
||
|
VariantCopyInd 111.200000 -> 111.200000: 0
|
||
|
VariantChangeTypeEx 1211: 0
|
||
|
VariantChangeTypeEx 4 -> "4": 0
|
||
|
VariantChangeTypeEx 34465.332431 -> "5/11/94 7:58:42 AM": 0
|
||
|
VariantChangeTypeEx "-0.49" -> -0.490000: 0
|
||
|
VariantCopyInd: 80070057
|
||
|
-------------- Testing different VARTYPES ----------------
|
||
|
VariantCopyInd: 0 -> 0
|
||
|
VariantCopyInd: 0 -> 80070057
|
||
|
VariantChangeTypeEx: 0 -> 0
|
||
|
VariantChangeTypeEx: VT_BYREF 0 -> 80020008
|
||
|
VariantClear: 0 -> 80020008
|
||
|
VariantCopyInd: 1 -> 0
|
||
|
VariantCopyInd: 1 -> 80070057
|
||
|
VariantChangeTypeEx: 1 -> 0
|
||
|
VariantChangeTypeEx: VT_BYREF 1 -> 80020008
|
||
|
VariantClear: 1 -> 80020008
|
||
|
VariantCopyInd: 2 -> 0
|
||
|
VariantCopyInd: 2 -> 0
|
||
|
VariantChangeTypeEx: 2 -> 0
|
||
|
VariantChangeTypeEx: VT_BYREF 2 -> 80020005
|
||
|
VariantClear: 2 -> 80020008
|
||
|
VariantCopyInd: 3 -> 0
|
||
|
VariantCopyInd: 3 -> 0
|
||
|
VariantChangeTypeEx: 3 -> 0
|
||
|
VariantChangeTypeEx: VT_BYREF 3 -> 80020005
|
||
|
VariantClear: 3 -> 80020008
|
||
|
VariantCopyInd: 4 -> 0
|
||
|
VariantCopyInd: 4 -> 0
|
||
|
VariantChangeTypeEx: 4 -> 0
|
||
|
VariantChangeTypeEx: VT_BYREF 4 -> 80020005
|
||
|
VariantClear: 4 -> 80020008
|
||
|
VariantCopyInd: 5 -> 0
|
||
|
VariantCopyInd: 5 -> 0
|
||
|
VariantChangeTypeEx: 5 -> 0
|
||
|
VariantChangeTypeEx: VT_BYREF 5 -> 80020005
|
||
|
VariantClear: 5 -> 80020008
|
||
|
VariantCopyInd: 6 -> 0
|
||
|
VariantCopyInd: 6 -> 0
|
||
|
VariantChangeTypeEx: 6 -> 0
|
||
|
VariantChangeTypeEx: VT_BYREF 6 -> 80020005
|
||
|
VariantClear: 6 -> 80020008
|
||
|
VariantCopyInd: 7 -> 0
|
||
|
VariantCopyInd: 7 -> 0
|
||
|
VariantChangeTypeEx: 7 -> 0
|
||
|
VariantChangeTypeEx: VT_BYREF 7 -> 80020005
|
||
|
VariantClear: 7 -> 80020008
|
||
|
VariantCopyInd: 77 -> 80020008
|
||
|
VariantCopyInd: 77 -> 80070057
|
||
|
VariantChangeTypeEx: 77 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 77 -> 80020008
|
||
|
VariantClear: 77 -> 80020008
|
||
|
VariantCopyInd: 78 -> 80020008
|
||
|
VariantCopyInd: 78 -> 80070057
|
||
|
VariantChangeTypeEx: 78 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 78 -> 80020008
|
||
|
VariantClear: 78 -> 80020008
|
||
|
VariantCopyInd: 79 -> 80020008
|
||
|
VariantCopyInd: 79 -> 80070057
|
||
|
VariantChangeTypeEx: 79 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 79 -> 80020008
|
||
|
VariantClear: 79 -> 80020008
|
||
|
VariantCopyInd: 80 -> 80020008
|
||
|
VariantCopyInd: 80 -> 80070057
|
||
|
VariantChangeTypeEx: 80 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 80 -> 80020008
|
||
|
VariantClear: 80 -> 80020008
|
||
|
VariantCopyInd: 81 -> 80020008
|
||
|
VariantCopyInd: 81 -> 80070057
|
||
|
VariantChangeTypeEx: 81 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 81 -> 80020008
|
||
|
VariantClear: 81 -> 80020008
|
||
|
VariantCopyInd: 82 -> 80020008
|
||
|
VariantCopyInd: 82 -> 80070057
|
||
|
VariantChangeTypeEx: 82 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 82 -> 80020008
|
||
|
VariantClear: 82 -> 80020008
|
||
|
VariantCopyInd: 83 -> 80020008
|
||
|
VariantCopyInd: 83 -> 80070057
|
||
|
VariantChangeTypeEx: 83 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 83 -> 80020008
|
||
|
VariantClear: 83 -> 80020008
|
||
|
VariantCopyInd: 84 -> 80020008
|
||
|
VariantCopyInd: 84 -> 80070057
|
||
|
VariantChangeTypeEx: 84 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 84 -> 80020008
|
||
|
VariantClear: 84 -> 80020008
|
||
|
VariantCopyInd: 85 -> 80020008
|
||
|
VariantCopyInd: 85 -> 80070057
|
||
|
VariantChangeTypeEx: 85 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 85 -> 80020008
|
||
|
VariantClear: 85 -> 80020008
|
||
|
VariantCopyInd: 86 -> 80020008
|
||
|
VariantCopyInd: 86 -> 80070057
|
||
|
VariantChangeTypeEx: 86 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 86 -> 80020008
|
||
|
VariantClear: 86 -> 80020008
|
||
|
VariantCopyInd: 87 -> 80020008
|
||
|
VariantCopyInd: 87 -> 80070057
|
||
|
VariantChangeTypeEx: 87 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 87 -> 80020008
|
||
|
VariantClear: 87 -> 80020008
|
||
|
VariantCopyInd: 88 -> 80020008
|
||
|
VariantCopyInd: 88 -> 80070057
|
||
|
VariantChangeTypeEx: 88 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 88 -> 80020008
|
||
|
VariantClear: 88 -> 80020008
|
||
|
VariantCopyInd: 89 -> 80020008
|
||
|
VariantCopyInd: 89 -> 80070057
|
||
|
VariantChangeTypeEx: 89 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 89 -> 80020008
|
||
|
VariantClear: 89 -> 80020008
|
||
|
VariantCopyInd: 90 -> 80020008
|
||
|
VariantCopyInd: 90 -> 80070057
|
||
|
VariantChangeTypeEx: 90 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 90 -> 80020008
|
||
|
VariantClear: 90 -> 80020008
|
||
|
VariantCopyInd: 91 -> 80020008
|
||
|
VariantCopyInd: 91 -> 80070057
|
||
|
VariantChangeTypeEx: 91 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 91 -> 80020008
|
||
|
VariantClear: 91 -> 80020008
|
||
|
VariantCopyInd: 92 -> 80020008
|
||
|
VariantCopyInd: 92 -> 80070057
|
||
|
VariantChangeTypeEx: 92 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 92 -> 80020008
|
||
|
VariantClear: 92 -> 80020008
|
||
|
VariantCopyInd: 93 -> 80020008
|
||
|
VariantCopyInd: 93 -> 80070057
|
||
|
VariantChangeTypeEx: 93 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 93 -> 80020008
|
||
|
VariantClear: 93 -> 80020008
|
||
|
VariantCopyInd: 94 -> 80020008
|
||
|
VariantCopyInd: 94 -> 80070057
|
||
|
VariantChangeTypeEx: 94 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 94 -> 80020008
|
||
|
VariantClear: 94 -> 80020008
|
||
|
VariantCopyInd: 95 -> 80020008
|
||
|
VariantCopyInd: 95 -> 80070057
|
||
|
VariantChangeTypeEx: 95 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 95 -> 80020008
|
||
|
VariantClear: 95 -> 80020008
|
||
|
VariantCopyInd: 96 -> 80020008
|
||
|
VariantCopyInd: 96 -> 80070057
|
||
|
VariantChangeTypeEx: 96 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 96 -> 80020008
|
||
|
VariantClear: 96 -> 80020008
|
||
|
VariantCopyInd: 97 -> 80020008
|
||
|
VariantCopyInd: 97 -> 80070057
|
||
|
VariantChangeTypeEx: 97 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 97 -> 80020008
|
||
|
VariantClear: 97 -> 80020008
|
||
|
VariantCopyInd: 98 -> 80020008
|
||
|
VariantCopyInd: 98 -> 80070057
|
||
|
VariantChangeTypeEx: 98 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 98 -> 80020008
|
||
|
VariantClear: 98 -> 80020008
|
||
|
VariantCopyInd: 99 -> 80020008
|
||
|
VariantCopyInd: 99 -> 80070057
|
||
|
VariantChangeTypeEx: 99 -> 80020008
|
||
|
VariantChangeTypeEx: VT_BYREF 99 -> 80020008
|
||
|
VariantClear: 99 -> 80020008
|
||
|
VariantClear: 80020008
|
||
|
VariantClear: 0
|
||
|
VariantClear: 0
|
||
|
VariantClear: 0
|
||
|
VariantClear: 0
|