Fun with CDF_ENCODE_EPOCH [message #10924] |
Tue, 03 February 1998 00:00 |
Brian Jackel
Messages: 34 Registered: January 1998
|
Member |
|
|
I've found a bomb in CDF_ENCODE_EPOCH, and was wondering
if any brave souls would like to try reproducing it on
other plaforms. I'm running on an SGI Indy, IDL version
{ mipseb IRIX unix 5.0.2 Aug 19 1997}.
If you follow along with the on-line documentation, it
suggests the following sequence, where EPOCH=0 could
also be 1,2 or 3 for different forms of output.
epoch_string = '04-Dec-1995 20:19:18.176'
epoch = CDF_PARSE_EPOCH(epoch_string)
encode0 = CDF_ENCODE_EPOCH(epoch, EPOCH=0)
Note that EPOCH=0 is the "standard type". However,
the following command
encode1 = CDF_ENCODE_EPOCH(epoch)
causes the IDLDE to hang, then core dump. There is
the obvious workaround (always set EPOCH=0), but I
was wondering whether this was a platform specific
thing.
--
Brian Jackel
|
|
|