running IDL without the DE [message #35179] |
Fri, 16 May 2003 12:15 |
Eric Inazaki
Messages: 4 Registered: April 2003
|
Junior Member |
|
|
I wanted to build a "hello world" script that I could
launch w/o having to explicitly startup IDLDE (either
double-clicking in Win2K's explorer or through
CommandPrompt). It didn't work and I'd like to find
out what I shoud be doing. The script itself looks like:
pro hello_world
print, 'Hello World'
end
I then followed the steps listed in the "Saving Compiled
IDL Programs" section of the "Building IDL Applications"
manual (this is for version 5.6). In particular, from the
Run menu, I selected Compile All then Resolve Dependancies.
Then I typed: "save, /routines, filename='hello_world.sav'.
When I double-clicked on hello_world.sav it appeared that
some program ran briefly but there was no output. The same
thing happened when I tried to launch the program from the
CommandPrompt.
More generally, I'm trying to build "standalone" IDL apps
which use stdin/stdout (a terminal window) as the user
interface. (The machines on which these apps run will have
either the IDL runtime or a full-up copy of IDL). Are there
any examples of this sort of thing on the web or in third
party books or even in the IDL supplied docs? (The IDL
docs seem to IDLDE centric and there don't seem to be a
lot of examples. Not a lot of good ones, anyway).
TIA,
eric
|
|
|