>>>>> "Rolf-Thomas" == Rolf-Thomas Happe <rthappe@mathematik.uni-freiburg.de>
>>>>> writes:
Rolf-Thomas> Thomas Wager writes:
>> > (time (make-date 0 3 16 25 2 2002)))
>>
>> Error: 79
>> "Value too large for defined data type"
Rolf-Thomas> Under Linux 2.2.17 I get this:
Rolf-Thomas> Welcome to scsh 0.6.1 (Combinatorial Algorithms) [beta 3]
Rolf-Thomas> Type ,? for help.
>> (define dee (make-date 0 3 16 25 2 2002))
>> (date? dee)
Rolf-Thomas> #t
>> (time dee)
Rolf-Thomas> -1
I already explained/fixed this in my previous mail.
>> (date->string (date))
Rolf-Thomas> "Mon Feb 25 18:11:01 2002"
>> (date->string dee)
Rolf-Thomas> Error: exception
Rolf-Thomas> wrong-type-argument
Rolf-Thomas> (call-external-value "format_date" #f)
According to the manual, the default arguments to make-date are
useful if the date is passed to the time function. They are not
considered reasonable for format-date as this example shows.
--
Martin
|