bugProgramming from the Ground Up Book - Bugs: bug #23077, Page.101:Writing...

 
 

bug #23077: Page.101:Writing records:record2:.rept 203 invalid

Submitter:  None
Submitted:  Sun 27 Apr 2008 02:58:00 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 03 Jan 2015 11:38:20 AM UTC, comment #1: 

I counted the text segment is 37 bytes long actually.
So that is not error in the book.

2 #01
2 #02
2 #03
4 #04
space #05
S #06
space #07
J #08
o #09
h #10
a #11
n #12
n #13
a #14
n #15
space #16
S #17
t #18
\n #19
C #20
h #21
i #22
c #23
a #24
g #25
o #26
, #27
space #28
I #29
L #30
space #31
1 #32
2 #33
3 #34
4 #35
5 #36
\0 #37

Mr Wang <fourthstreet1985>
Sun 27 Apr 2008 02:58:00 PM UTC, original submission:  

In the book, page 101, writing records there is a mistake in the records.

record2:
...
.ascii "2224 S Johannan St\nChicago, IL 12345\0"
.rept 203 #Padding to 240 bytes
        ^- Invalid size, should be 202. Text segment is 38  bytes long, not 37 as implied by the .rept


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by fourthstreet1985 (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code