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

 
 

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

Submitted by:  None
Submitted on:  Sun 27 Apr 2008 02:58:00 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1