Re: cint :: Limitation: Function can not be defined in a command line or a tempfile

From: suvayu ali <fatkasuvayu_at_gmail.com>
Date: Fri, 29 Jul 2011 01:24:25 +0200


Hi Adrian,

On Thu, Jul 28, 2011 at 11:58 PM, Adrian Sevcenco <Adrian.Sevcenco_at_cern.ch> wrote:
> the problem is that i would like to define a help() function that would
> print the command usage

You can always have named macros.

// somefile.C

int somefile(..) {..}

int utility_fn1() {..}

int utility_fn2() {..}

int help() {..}

You can even define simple classes like this. Output of MakeClass is an example. :)

GL

-- 
Suvayu

Open source is the future. It sets us free.
Received on Fri Jul 29 2011 - 01:24:52 CEST

This archive was generated by hypermail 2.2.0 : Fri Jul 29 2011 - 11:50:01 CEST