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

Home » Public Forums » archive » Re: IDLVM and execute
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: IDLVM and execute [message #79036 is a reply to message #79035] Mon, 23 January 2012 04:57 Go to previous messageGo to previous message
greg.addr is currently offline  greg.addr
Messages: 160
Registered: May 2007
Senior Member
Yes, I've wanted to do this before. I suppose the reason execute() is not allowed is to prevent you from writing a wrapper of IDL interpreter for the VM. If this is so, perhaps it could be possible for Exelis to provide a reduced version of execute which would simply evaluate an arithmetic expression. For my purposes - and yours, too, it appears - it would be enough if only +-*/^ were allowed (although probably sqrt, alog10, exp, sin... and a bunch of other built-in fns could sensibly be included, too): I don't think you could build anything interpreter-like from those. A user-defined function is a useful thing to have in a scientific data analysis language...

Greg
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: reads/readf into structures with explicit format
Next Topic: Re: To read excel file in IDL

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

Current Time: Wed Oct 08 19:25:11 PDT 2025

Total time taken to generate the page: 0.00457 seconds