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

Home » Public Forums » archive » Tip: how to mix object gui with command line
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Tip: how to mix object gui with command line [message #18360] Mon, 20 December 1999 00:00 Go to previous message
Karri Kaksonen is currently offline  Karri Kaksonen
Messages: 27
Registered: October 1999
Junior Member
Hi,

I just thought of dropping a line about a discovery I made.
This may be old news for all old timers but as it was new for
me I thought of sharing this idea.

When you build an application as an object like:
o=obj_new('MyApplication')

and you start up the graphical user interface with buttons etc.
o->draw

then I suddenly notice that there is something weird going on
and want to have a look at my data from the command line.

In a widget-program I would have to quit the program and start
debugging. But in an object program I can leave the program
running and just fetch the data.

The key is in coding in methods for accessing private stuff like:

function MyApplication::getdata
return *self->data
end

then I can just click on the IDL> command line and write:
a=o->getdata()
and continue to work on it on the command line.

--
Merry X-mas,

Karri Kaksonen
Picker Nordstar
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Strange memory problem
Next Topic: idl 5.3 runtime on idl 5.2 system work?

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

Current Time: Fri Oct 10 14:59:53 PDT 2025

Total time taken to generate the page: 1.91879 seconds