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

Home » Public Forums » archive » Whither Object
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: Whither Object [message #34748 is a reply to message #34635] Fri, 11 April 2003 09:45 Go to previous messageGo to previous message
MKatz843 is currently offline  MKatz843
Messages: 98
Registered: March 2002
Member
At the risk of monopolizing my own discussion, here's a function I
prepared that does both jobs. It first checks to see if the function
has already been compiled. That's good for the runtime distribution
where all objects must be precompiled. If that fails, it looks in the
directories for the __define.pro file. TRUE (1b) is returned if the
class exists. FALSE (0b) is returned if it fails.


function obj_test, class
if (obj_class(class) NE "") $ ;--- already compiled?
then return, 1b
;--- Search for it.
return, File_Which(StrLowCase(class) + "__define.pro" , $
/Include_Current_Dir) NE ""
end
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: LOCALE_GET()
Next Topic: Floating point error

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

Current Time: Wed Oct 08 13:05:17 PDT 2025

Total time taken to generate the page: 0.00404 seconds