| Quick navigation: | Home | Site Map || References | Biography || Copyright | Other copyright | Contact us | | |
|
[ccp4bb] question about a script |
|
CCP4bb navigationCCP4bb <-- 2007 <-- March 2007 <-- 05 March 2007Subject: question about a script From: yang li robertcatrukie {- at -} GMAIL {- dot -} COM Date: 2007-03-05 If I have two scripts named 1.inp, 2.inp, I can run them with command like ./1.inp, now I should modify some parameter in 2.inp according to the result of ./1.inp before run it. How can I write a program to run then together? For example, I get two numbers a and b from 1.inp, and if a>b, I should set c=0, which is a parameter in script 2.inp, if a<=b, I should set c=1, then how to write it? In fact I want to know how to run such scripts in a normal fortran program. I wonder I have explained it clearly, hower I am looking forward for your helps. Thanks. Li yang CCP4bb navigationCCP4bb <-- 2007 <-- March 2007 <-- 05 March 2007 |
| ProteinCrystallography.org: Copyright 2006-2008 by Quid United Ltd |