Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/03/05 07:31
Read: times


 
#101838 - Be precise!
Responding to: ???'s previous message
Jeff,

Please note, that Charles not only tidied it up (besides other, enclosing the program into <pre> and </pre> tags), he also corrected a serious error you made (except the number of counts, which is the usual mistake - if you count from 0 to 9 it you need to count not 9 but 10 times...):
Jeff Corr said:
ADD A, 1 ; Adds 1 to Acc for next loop

Chrles Bannister said:
       ADD A, #1               ; Adds 1 to Acc for next loop

This is prehaps the most common error one can make (and I did it at least a million times) and yet one which is very hard to find - subject to the specific programmer's "blindness" - when one sees what one wants to see (and not what is written there).

A good candidate for a week's quiz.

Jan Waclawek

PS. Ever heard about INC? :-)


List of 8 messages in thread
TopicAuthorDate
Please help to generate sequence            01/01/70 00:00      
   I don't understand            01/01/70 00:00      
      Azam - two questions to clarify.            01/01/70 00:00      
         try this            01/01/70 00:00      
            Try This MO Betta.            01/01/70 00:00      
               na            01/01/70 00:00      
                  Be precise!            01/01/70 00:00      
   yeeah            01/01/70 00:00      

Back to Subject List