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

Home » Public Forums » archive » Re: What to name a class definition file?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: What to name a class definition file? [message #36879] Wed, 05 November 2003 14:45
David Fanning is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: What to name a class definition file?
Next Topic: OS X 10.3 and IDL?

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

Current Time: Wed Oct 08 15:28:20 PDT 2025

Total time taken to generate the page: 0.00453 seconds