Overview
| Artifact ID: | 90775695595159be57bf188b87281f86d3203c47 |
|---|---|
| Ticket: | 634856ffffffffffffffffffffffffffffffffff
results of 'string is integer' are wrong |
| User & Date: | bwallner on 2002-11-07 07:36:46 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
I'm checking input values and see this strange behaviour of the 'string is integer' command. puts "tcl_version: $tcl_version" set numbers {1 +1 ++1 +-1 -+1 -1 --1 "- +1" "+ \n+1" "- \t-1"} foreach num $numbers { puts "$num is integer: [string is integer $num]" } See the results of '[string is real]': set numbers {1.0 +1.0 ++1.0 +-1.0 -+1.0 -1.0 --1.0 "- +1.0" "+ \n+1.0" "- \t-1.0"} foreach num $numbers { puts "$num is double: [string is double $num]" } - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "bwallner"
- subsystem changed to: "18. Commands M-Z"
- title changed to: "results of 'string is integer' are wrong"
- type changed to: "Bug"