Overview
| Artifact ID: | 6b481e0f49d6cfaa1713fe1a7cd05e73011c03d9 |
|---|---|
| Ticket: | 1771726fffffffffffffffffffffffffffffffff
Forced Variable Types |
| User & Date: | deusued on 2007-08-10 14:58:12 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
As a loyal and devout Tcl professional (7+ years), I have come across a situation where I would really -love- to be able to force a variable type, or cast it, as a single type. While this may incur overhead, I would like to believe that it could be implemented in such a manner that both execution speed would be significantly faster (no casting required if a specific bit is set on the variable) and potentially reducing the memory overhead necessary to cast (I'm out of water here, though). ex: %set -double myDouble 1.002 %lappend myDouble 2 /error thrown, much like passing an array in as the first arg/ %set -string myString "1.01" %expr $myString + 2.01 /error thrown, much like passing {} in/ - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "deusued"
- subsystem changed to: "07. Variables"
- title changed to: "Forced Variable Types"
- type changed to: "RFE"