I think it was me that was probably unclear. If you don't use the "create" keyword, then you can still create multiple vectors with the same command. This works in both 2.x and 3.x. bltsh30 % blt::vector x(30) y(30) z(30) I'm not 100% clear as to why syntactical compatibility between 2.x and 3.x is needed. Nor why the vectors need to created in a single command. Is this because the TCL code making the call can't be changed? [It wasn't my goal in 3.x to be 100% backward compatible with 2.x syntax....
I believe the syntax blt::vector /arrayName/(/len/) works the same in both versions. Since the create operation has switches in 3.x, the old syntax of blt::vector create /arrayName/(/len/) ... * * could not be cleanly maintained. [The idea in 2.x was to have the vector look like a data type instead of a command.] ** You would still have to set the values to 0.0 to replicate the 2.x behavior. --gah On 7/6/22 18:27, Edward Sternin wrote: BLT v.3 significantly changed the syntax of the |vector| command....
I agree that the behavior should be the same as TCL. I'll make the changes. --gah On 7/5/22 13:17, Edward Sternin wrote: [bugs:#159] https://sourceforge.net/p/blt/bugs/159/ unnecessary and harmful underflow error in vector Status: open Group: Created: Tue Jul 05, 2022 06:17 PM UTC by Edward Sternin Last Updated: Tue Jul 05, 2022 06:17 PM UTC Owner: nobody In |bltVecMath.c| the test for underflow in vector |expr| calculations produces unexpected behaviour, an error "floating-point value too small...
sync master
Add global -nodefault flag to argument parser
Add global -nodefault flag to argument parser
sync master
Fix comment
Merge branch 'master' of /home/gahowlet/blt
Round DPI result after floating point arithematic
added -include and -exclude switches to import command
Use blt::busy instead of grab for search dialog popup
don't add scrollbar when requested width or height is 0 in scrollset
Fix tree label for no-hashtable lists of children in parents. Broken when fixing labels for hashed children
Don't print usage/help for hidden or disabled arguments
fix parentheses around filter expressions
Merge /home/gah/blt
Merge branch 'master' of /home/gahowlet/blt
Fix scrollset calc, fix tree hash relabel
Merge branch 'master' of /home/gahowlet/blt
update autoconf files
update moveop doc
update tableview menus
fix doc
save integer base font point size
update configure for msys host
Recompute scaling by saving initial text width and height
Fix copying of pathOpts by duplicating Tcl_Objs
Queue cell redraws
Updates for handling of separator character in tree path and find operations.
Fix scaling of canvas label font
change emacs mode line
Fix indentation
Fix handling of level argument
Allow override switches on tree path operations
replace strncpy with memcpy to suppress warnings
Merge branch 'master' of /home/gahowlet/blt
Added tree options: path cget, path configure. Removed tree options: path separator
Add hidden/disabled arguments
Don't set font for internal menus.
merge line for long line test.
Add section for diff operation
redo data structure
Fix snap operation to maintain aspect ratio
rename variable names
fix configuration switch -root with correct tree
Compute window arrangement from scratch. Don't consider current state of scrollbars
fix configuration switch -root with correct tree
fix configuration switch -root with correct tree
(fix) node switches require clientData field set (was using old tree value)
sync with working copy
(new) add column reorder operation
(fix) last pane on initial layout did not consider extra space leftover
(new) added reorder operation for columns
(new) added -emptyvalue for empty values in the tree.
fix hide/show to use column label instead of title
added back -maxpect switch to graph postscript operation (font scaling and graph sizing is still broken)
added -maxpect switch and forced removal of cache before graph snap operation
fix off-by-1 error in number of non-empty count
fix (thanks to Edward Sternin) error bars
add pkg-config freetype2 test
remove debug message
fix for unsigned integer returned from cksum command
sort option by short name
add Unix checkum crc generation
sort option by short name
add cksum algo
(fix) Hash table use string pools for string keys
fix test for length of argument before description
change -reuse to -ifneeded
added -reuse flag to insert for tree
Fix: added entry GEOMETRY flag when reusing cells.
added -angle to table columns (not implemented).
added asserts to *alloc* calls to verify initialization
added -angle to table columns (not implemented).
Update initial rtext code
dev continue on rtext
more rtext code
initial work on richtext object
fix tableobj flags on tableview
more rtext code
more rtext code
dev continue on rtext
fix Blt_RotatePicture to handle non-orthgonal rotations again
clean up comments and TODO
fix Blt_RotatePicture to handle non-orthgonal rotations again
clean up comments and TODO
added -nodefault switch for arguments in parseargs command
added -nodefault switch for arguments in parseargs command
added -nodefault switch for arguments in parseargs command
cleanup tableview.c
updates for tree json reader/writer
allow tableview columns to be pre-defined before datatable column exists
fix writing of json strings into tree
clean up handling of predefined columns in tableview widget
update TODO
updates for tree json reader/writer
updates for tree json reader/writer
fixes for new version of barchart
remove field from table cell structure