[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] It's impossible !!!!! I don't know !!!! This is correct!!!



On Sun, 27 Aug 2000, Vincenzo Mazzotta wrote to both mailing lists:

> I've a problem if i sum two or much variable with class operation :
> 
>       double a = ((double) (now)) + ((double) (delay_line[line]));

what is 'now'? Do you perhaps mean to use NOW:

object.h:#define NOW Scheduler::instance().clock()

which is not yet consistently available throughout ns? 

L.

should be; it's one of the few places where a #define - as opposed to
a C++ const - actually makes a lot of sense.

<[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>