[Swift-devel] how to increment int?

Mike Kubal mikekubal at yahoo.com
Mon Dec 17 23:15:15 CST 2007


In the swift code loop below I need to increment the
start_job variable by 1, however I get the error that
start_job is already assigned, how should I do it? 

thanks Mike Kubal 


int start_job = 10000001;

while( start_job < 10000998){
        string job_number = start_job;
        file score_file
<single_file_mapper;file=@strcat 
(job_number,"_chemgauss3_scores.txt")>;
        file docked_file
<single_file_mapper;file=@strcat(job_number,"_chemgauss3_docked.mol2")>;
        (score_file,docked_file) =
run_fred(job_number);
        start_job = start_job + 1;
}



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 




More information about the Swift-devel mailing list