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

Home » Public Forums » archive » Re: update variable in structure
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: update variable in structure [message #66948 is a reply to message #66946] Tue, 16 June 2009 10:13 Go to previous messageGo to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
> Thanks for your quick replys!
> In that case I've got a problem... or rather I've to find a neat
> workaround for my own work. :)
>
> Bye,
> Martin

make is a function

function xyz, arg

return, arg mod 5
end

myStruct.field = xyz(mystruct.field)



or copy the argument

tmp = mystruct.field
xyz,tmp
mystruct.field = tmp



Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: POLAR_CONTOUR plot giving strange values for contour lines
Next Topic: Trial version of Slither, the IDL to Python bridge, available

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

Current Time: Wed Oct 08 19:58:24 PDT 2025

Total time taken to generate the page: 0.00451 seconds