Menu

#145 Handling of unary + in vector expressions

open
nobody
None
5
2010-01-02
2010-01-02
Anonymous
No

Hi!

I use blt to handle data collected from measurements devices and recently stumble over bug in handling values with preceding + sign. Workaround is trivial (and shown below) but it takes a while before I figure the cause of an error.

$tclsh
% package require BLT
3.0
% set x +0.0001e-02
+0.0001e-02
% blt::vector expr "$x > 0"
missing operand
% blt::vector expr "[expr $x] > 0"
1.0
%

Discussion


Log in to post a comment.