|
From: Donal K. F. <fel...@cs...> - 2000-10-05 18:06:03
|
Ernesto Baschny <eb...@pe...> > I would be able to work with unsigned integers (IP adresses) on TCL, > using the expr or other functions on it. Currently this doesn't work, > if my integer is larger than an signed integer, it gets negative: > > ernst@milka:/u/ernst > tclsh8.2 > % expr 3585808128 + 1 > -709159167 > > Will this be enhanced in TCL 8.4? Would be great! :) > > I now have to use the float to make calculations, and then split on > the "." and lindex 0, because: [...] > (Maybe there is another (better) way?). This is not really the right place to raise such questions. The one question that is fairly appropriate (will this behaviour be changed in 8.4) is answered with "probably not" since it would break software expecting the current signed behaviour. It does depend on whether someone comes forward with a reasonable suggestion for what the behaviour should be (and this list is a good place to suggest it) and volunteers to implement it. (Hey! We're busy people too...) I'll continue the discussion in private email. Donal. -- Donal K. Fellows, Department of Computer Science, University of Manchester, UK. (work) fel...@cs... Tel: +44-161-275-6137 (preferred email addr.) (home) do...@ug... Tel: +44-1274-401017 Mobile: +44-7957-298955 http://www.cs.man.ac.uk/~fellowsd/ (Don't quote my .sig; I've seen it before!) -- The TclCore mailing list is sponsored by Ajuba Solutions To unsubscribe: email tcl...@aj... with the word UNSUBSCRIBE as the subject. |