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

Home » Public Forums » archive » Re: executing a string in VM without using '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: executing a string in VM without using 'EXECUTE' [message #50636] Fri, 06 October 2006 02:42 Go to previous message
greg michael is currently offline  greg michael
Messages: 163
Registered: January 2006
Senior Member
I'm assuming your formula is just a sample, and that it could be any
other function of mr? I have the same problem (I posted something
similar a few months back). The conclusion was that the solution is to
write a code to break down the string and pass the pieces to the right
operators or functions (using call_function() ) to assemble the result.
It's not an entirely trivial excercise... so far I still working with
execute().


Look here - seems you're trying to do something very similar:
http://groups.google.de/group/comp.lang.idl-pvwave/browse_fr m/thread/d240948579293504

regards,
Greg

gav wrote:
> Hi Guys,
>
> There is probably a simple solution to this but I can't find it: I
> want to execute the string below in VM, without using (can't use) the
> 'EXECUTE' command. Any ideas / code etc greatfully received.
>
>
> com='speci=where('+formula+',speccount) ';write executable
> string
> t=execute(com) ;execute string
>
> the 'formula' is "(mr(*,*,159) le 8 or mr(*,*,170) gt mr(*,*,159)
> or mr(*,*,235) gt mr(*,*,159) )"
> cheers
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: executing a string in VM without using 'EXECUTE'
Next Topic: Re: wrapper functions

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

Current Time: Fri Oct 10 05:08:01 PDT 2025

Total time taken to generate the page: 0.96177 seconds