Re: passing arguments into main function

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Mon, 19 Jun 2006 17:57:30 +0200


Boris,

Could you send the shortest possible (and running) version of your program that reproduces this problem?

Rene Brun

Boris Skorodumov wrote:
> Hello All,
> I have stand alone application which interacts with root.
> I am passing 3 arguments like this:
>
>
> * ./program 104.root input_ea.dat dea*
>
> It works fine. But ones it is finishing, it is trying to open 104.root
> file and input_ea.dat.
> ////
> root [0]
> Attaching file 104.root as _file0...
> Processing input_dea.dat...
> Report: Unrecognized string '228Th 5.341 5.423 5.686 6.062 6.288
> 6.779' ignored input_dea.dat:8:
> Error: Function input_dea() is not defined in current scope :0:
> *** Interpreter error recovered ***
> /////
>
> Why it is happening ?
>
> Thank you,
>
>
>
> --
> Boris Skorodumov, PhD Student
> Physics Department
> University of Notre Dame
> In 46556, USA
> http://www.nd.edu/~bskorodo
Received on Mon Jun 19 2006 - 17:57:41 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:59 MET