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

Home » Public Forums » archive » Re: Linking code into IDL
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: Linking code into IDL [message #6827] Tue, 27 August 1996 00:00
Arno F. Granados is currently offline  Arno F. Granados
Messages: 8
Registered: August 1996
Junior Member
> Claus Hammerl wrote:
>
> Hi there,
>
> I wrote an idl application and want it to be used by others, but I
> don't want others to look at the source code ... is there any
> possibility to do a compilation and run the compiled code or do
> I always have to run IDL and read the source code to run it ...
>
> thanks in advance
>
> claus hammerl
> hammerl@physik.uni-augsburg.de

if your main goal is to hide the source code, you can "save" a compiled
IDL binary that others can restore and run. All they get is the binary,
so your source code is effectively hidden.

Assuming you have an IDL procedure called my_prog.pro, you would do
the following to save the binary:

IDL> .r my_prog.pro
IDL> resolve_all
IDL> save,/routines,filename='my_prog.sav'

to run your code, another user would type:

IDL> restore,filename='my_prog.sav'
IDL> my_prog


Arno
granados@possys.com
[Message index]
 
Read Message
Previous Topic: Meteorological data
Next Topic: IDL FAQ

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

Current Time: Fri Oct 10 14:27:58 PDT 2025

Total time taken to generate the page: 0.48205 seconds