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

Home » Public Forums » archive » Re: script for batch compiling
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: script for batch compiling [message #73520] Fri, 12 November 2010 15:01 Go to previous message
rogass is currently offline  rogass
Messages: 200
Registered: April 2008
Senior Member
On 12 Nov., 23:31, TonyL <anthony.legg...@bigpond.com> wrote:
> On Nov 13, 9:13 am, chris <rog...@googlemail.com> wrote:
>
>> Hi there,
>> does anybody have a script or maybe an idea, how to compile, to
>> resolve dependencies and to generate save files with the same name of
>> the pro of an entire directory full of pro's?
>
>> Thanks in advance
>
>> CR
>
> Try this...our key procedures have a 'dst' prefix in their names to
> make it work..functions that are referred to inside those procedures
> are resolved even those without the dst prefix.
>
> ;+
> ; Build script for Decision Support Tool (DST)
> ;-
>
> .full
>
> sourceFiles = FILE_SEARCH('dst*.pro')
>
> sourceFiles = FILE_BASENAME(sourceFiles, '.pro')
>
> nFiles = N_ELEMENTS(sourceFiles)
>
> FOR iFile = 0, nFiles-1 DO RESOLVE_ROUTINE, sourceFiles[iFile], /
> Either, /Compile_full_file
>
> RESOLVE_ALL
>
> SAVE, /ROUTINES, /Compress, FILENAME='dst.sav'
>
> Tony

Very cool - THANKS

CR
[Message index]
 
Read Message
Read Message
Previous Topic: script for batch compiling
Next Topic: Re: display the angstrom symbol to the power of -1 in a widget_label

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

Current Time: Fri Oct 10 07:15:37 PDT 2025

Total time taken to generate the page: 2.87922 seconds