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

Re: duplex-links and defaults



Excerpts from mail: 2-Dec-97 Re: duplex-links and defaults  by Kannan
[email protected] 
> > Also, is there any way to change the defaults for things like BW and
> > time?  For example, "$object set timevar 1.5" implies seconds.  Can I
> > make it imply milliseconds?
>  
> The values for different variables can be specified
> in a variety of formats, such as the one you want,
> viz. specifying time in milliseconds.  Take a look
> at the section on variable bindings in the ns documentation
> (http://www-mash.cs.berkeley.edu/ns/ns-documentation.html)
> In the above case,
>  
>         $object set timevar 1500ms
>  
> does the magic.

Yes, that makes sense.  However, what I'd really like to be able to do is type 

         $object set timevar 1500

and have ns know I mean milliseconds, because I would have already
switched the default time variable with some other statement.  Is this
possible?

Thanks,
Amy