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

Home » Public Forums » archive » concatenating files
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: concatenating files [message #2993 is a reply to message #2906] Thu, 13 October 1994 11:17 Go to previous messageGo to previous message
mallozzi is currently offline  mallozzi
Messages: 60
Registered: August 1994
Member
| darren@rockvax.rockefeller.edu writes:
| Does anyone know an easy way to concatenate several
| files (WAVE programs and functions) into one big file, so that it can
| all be compiled with a single ".run" command?

I somtimes use the following for IDL on a VAX, but I guess it should work
on other platforms as well:

Create a file that looks like
.run PRO1
.run PRO2
.run FUNCTION1
.run PRO3
MAIN_PRO

where the last line is an IDL call to MAIN_PRO, where MAIN_PRO is your main
code (that you made into a procedure) that calls PRO1, PRO2, etc

Then define an operating system symbol, that for VAX would look like
RUNNIT == "$IDL_DEV:[IDL_DIR]IDL MY_DEV:[MY_DIR]MY_FILE"

Typing RUNNIT at the DCL prompt invokes IDL, compiles PRO1, PRO2, etc
and begins executing MAIN_PRO

Does that help?
mallozzi@ssl.msfc.nasa.gov
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: CALL_EXTERNAL and VAX/VMS
Next Topic: Style guide for programming in PV-WAVE

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

Current Time: Sat Oct 11 14:44:30 PDT 2025

Total time taken to generate the page: 1.04058 seconds