Re: build project to executable .sav binary eclipse [message #69074] |
Tue, 22 December 2009 14:53  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Robbie wites:
> I just thought I might mention that you can also trick resolve_all
> into resolving classes by calling the structure definition statement.
>
> For example if you wrote:
>
> idlgrlegend__define
> obj = obj_new('idlgrlegend__define')
>
> Then resolve_all would resolve the class at compile time.
Well, at least it would if all the object methods
were in that __define file and the modules were
named properly. :-)
It would probably be more reliable to do this:
IDL> .Compile idlgrledgend__define
IDL> Resolve_All
This is, essentially, what you have to do to build a project
with a lot of user-defined objects in it. That is to say,
you write an IDL script with a whole lot of .compile statements
in it before you get to the RESOLVE_ALL statement.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thos speakest truth.")
|
|
|