Warning: Trying to access array offset on value of type null in /home/site/wwwroot/lib/plugins/move/action/rename.php on line 42
Warning: Cannot modify header information - headers already sent by (output started at /home/site/wwwroot/lib/plugins/move/action/rename.php:42) in /home/site/wwwroot/inc/Action/Export.php on line 106
Warning: Cannot modify header information - headers already sent by (output started at /home/site/wwwroot/lib/plugins/move/action/rename.php:42) in /home/site/wwwroot/inc/Action/Export.php on line 106
Warning: Cannot modify header information - headers already sent by (output started at /home/site/wwwroot/lib/plugins/move/action/rename.php:42) in /home/site/wwwroot/inc/Action/Export.php on line 106
====== Saving .out Files as a Function of Run Number ======
--- //[[alan.coelho@bigpond.com|Alan Coelho]] 2017/05/18 17:23//
There are two ways to save an INP file as a function of Run_Number:
1) Using out_file as follows:
out_file = Concat(String(INP_File), String(Run_Number), ".out");
Concat is an equation function that concatenates strings; it can take any number of arguments.
2) Using system_after_save_OUT
system_after_save_OUT
{
copy INP_File##.out INP_File##Run_Number##.out
}
or, if there are spaces in the INP_File
system_after_save_OUT
{
copy Double_Quote##INP_File##.out##Double_Quote## Double_Quote####INP_File##Run_Number##.out##Double_Quote
}
Note, spaces in file names leads to complications. Double_Quote is a macro defined in TOPAS.INC.