Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-23
03:58 • Ticket [218354ffff] error in format command status still Closed with 3 other... artifact: 0e0a2f1457 user: dgp
2000-10-26
08:20 • Closed ticket [218354ffff]. artifact: 62e51b8517 user: welch
00:56 • New ticket [218354ffff]. artifact: 35eef126bb user: nobody

error in format command

Closed / Fixed218354ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:56:37
OriginalBugID: 4123 Bug
Version: 8.2.3
SubmitDate: '2000-02-03'
LastModified: '2000-02-03'
Severity: LOW
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: HP-UX
OSVersion: HP-UX 10.2
Machine: HP C3000
FixedDate: '2000-10-25'
ClosedDate: '2000-02-03'


Name:
Matthew Hall

ReproducibleScript:
#This command works as expected
format %d 007 
7

#This command does not
format  %d 008
expected integer but got "008"

ObservedBehavior:
error message

DesiredBehavior:
format %d 008
8



This is correct.  Perhaps the 8.3 error message is more helpful:

pop [tcl8.3/unix/sol7] 9 % tclsh8.3
% format %d 008
expected integer but got "008" (looks like invalid octal number)
 
-- 02/03/2000 hobbs
welch Closed ticket [218354ffff]. [History diff]2000-10-26 08:20:08
dgp Ticket [218354ffff]: 3 changes [History diff]2001-04-23 03:58:27
Log in (anonymous is fine) to add a comment.