comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Fun with CDF_ENCODE_EPOCH
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Fun with CDF_ENCODE_EPOCH [message #10924] Tue, 03 February 1998 00:00
Brian Jackel is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: BEGINNER ASKS FOR HELP!!!
Next Topic: Re: Newbie question - showing grid

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:51:48 PDT 2025

Total time taken to generate the page: 0.00459 seconds