Home »
Public Forums »
archive »
Re: What to name a class definition file?
Re: What to name a class definition file? [message #36879] |
Wed, 05 November 2003 14:45 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Yip writes:
> Say I want to define a class in IDL. I want the developement
> environment to find the definition when I do a OBJ_NEW. What do I
> name the file? If there is a function called "foo", it looks for
> "foo.pro". What filename does IDL look for to find a class
> definition?
Name the file "foo__define.pro". The last module in
that file will be the procedure named FOO__DEFINE.
(Note *two* underscores in the names!)
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Current Time: Wed Oct 08 15:28:20 PDT 2025
Total time taken to generate the page: 0.00453 seconds