Welcome to iraf.net Friday, April 26 2024 @ 05:47 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 Add external script
   
anestis_tziam
 01/27/2015 06:18AM (Read 939 times)  
+----
Newbie

Status: offline


Registered: 01/14/2015
Posts: 8
Hallo to all,


I need to add an external iraf script. This is just a .cl file, so I am not talking for a package or anything else. How can I make this active and use it like the rest of the scripts?

Thanks a lot.

 
Profile Email
 Quote
fitz
 01/27/2015 08:17AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
You need to declare the script as a task with a command such as:

PHP Formatted Code

cl> task myscript = /path/to/myscript.cl
 


This can be added to a loginuser.cl file in the same directory as your login.cl, just be sure the last line of the loginuser.cl file is a 'keep' statement, e.g.

PHP Formatted Code

task myscript = /path/to/myscript.cl
keep
 


 
Profile Email
 Quote
   
Content generated in: 0.17 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login