-------- Original Message -------- Subject: RE: [Question] how to set the parameter when using NTSYSpc 2.20v Date: Mon, 9 Feb 2009 11:29:15 -0800 (PST) From: F. James Rohlf <[email protected]> Reply-To: <[email protected]> Organization: Stony Brook University To: <[email protected]> References: <[email protected]> This is an optional feature of NTSYSpc. You can start just using batch files that completely specify all the values for a run. Later, you may wish more flexibility so you could use the same batch file on different data. In that case you could make the name of the initial data file a parameter. You could insert %1 where the data file name should be given and the use the file name as the first parameter. NTSYSpc inserts whatever characters you give as parameters as the values of the %1, %2, etc. parameter symbols in the batch file. Nothing fancy but it can sometimes be convenient. Example of a batch file using parameters: *simint o=%1.nts c=corr r=%1out.nts *sahn o=%1out.nts cm=upgma r=%1tree.nts If you give 'ONE' as the parameter then the batch file is processed as if it were: *simint o=ONE.nts c=corr r=ONEout.nts *sahn o=ONEout.nts cm=upgma r=ONEtree.nts You could then use the same batch file on the TWO.nts file by giving 'TWO' as the parameter. Because all it does is to substitute strings of characters, you could also have a batch file with parameters for the names of methods (e.g., in place of 'upgma' you could have %2 or even %3 in place of 'simint' if that made sense for what you wished to do. However, I think most users only use parameters for the names of data files. ========================= F. James Rohlf Distinguished Professor, Stony Brook University http://life.bio.sunysb.edu/ee/rohlf
-----Original Message----- From: morphmet [mailto:[email protected]] Sent: Monday, February 09, 2009 1:42 PM To: morphmet Subject: [Question] how to set the parameter when using NTSYSpc 2.20v -------- Original Message -------- Subject: [Question] how to set the parameter when using NTSYSpc 2.20v Date: Mon, 9 Feb 2009 02:01:08 -0700 From: 이수화 <[email protected]> To: <[email protected]> hi, i am an new user of NTSYSpc 2.20v. i'm not used to make the format of NTB, when running batch file. the parameter is supposed to put, but i do not know what parameter i can put. when i put anything, for example, character, the next step is not processed. please let me know how to deal with it. have a nice day. -------------------------------------------------------------------- ---- e벗 사귀기, 쪽지 보내기, 가젯 즐기기를 통해 전세계 친구들을
만나세요! 나
의 글로벌 인맥, Windows Live Space! <http://www.spaces.live.com > -- Replies will be sent to the list. For more information visit http://www.morphometrics.org
-- Replies will be sent to the list. For more information visit http://www.morphometrics.org
