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

Home » Public Forums » archive » Re: JBIU utilities - release 1.0
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: JBIU utilities - release 1.0 [message #60802 is a reply to message #60797] Fri, 13 June 2008 11:45 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
mgalloy@gmail.com writes:

> How about the following?
>
> function mg_sign, x
> compile_opt strictarr
>
> return, fix(x gt 0) - fix(x lt 0)
> end

Let this be a lesson to all the folks out there who think
writing code for public consumption is a barrel of laughs!

Cheers,

David

P.S. Let's just say most of us do our best thinking
*after* we hit the SEND button. :-(

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Warping with intensity conservation or drizzle algorithm
Next Topic: JBIU utilities - release 1.0

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

Current Time: Sat Oct 11 16:05:07 PDT 2025

Total time taken to generate the page: 0.55988 seconds