From: Colin P. A. <co...@co...> - 2007-02-02 09:05:03
|
>>>>> "Colin" == Colin Paul Adams <co...@co...> writes: Eric> Colin Paul Adams wrote: >>> So I need permission to start using INTEGER_64. Eric> OK. If I remember correctly this will rule out VE, but it Eric> should be OK with the other compilers. Colin> SE fails to compile it as I am Colin> using {STRING}.is_integer_64, which SE 1.2r7 doesn't Colin> have. As at this point in the code I already know that the Colin> string consists of decimal digits only, I could just check Colin> the count, and err on the safe side. But I think we will Colin> need a STRING_.is_integer_64 routine anyway, assuming we Colin> are going to stay with SE for a while. I've coded STRING_.is_integer_64 and (but not for VE) STRING_.to_integer_64. I'm not sure what to do about writing tests. Test_is_integer_64 is no problem. But test_to_integer_64 will fail to compile for VE, and kl_test_string_routines.e is not a ge class. Perhaps a separate class? Also, I should really but in a conditional in the .eant files for the xpath and xslt tests, so as not to run them for VE. Or do we just drop VE completely now? -- Colin Adams Preston Lancashire |