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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/04/07 07:20
Read: times


 
#140223 - crunched by quoting AND email
Responding to: ???'s previous message
David Prentice said:
Steve M. Taylor said:
David Prentice said:

I hope that I have not stirred up a hornets' nest.

Several postings appear regularly with tabs. It is only when this happens inside some ASM or C source code that it causes irritation.


Course, folks could just use the pre and /pre tags like it says in noob.pdf

Steve




Steve,

That is not foolproof. I have just pasted a function that is written with tabs between a pair of pre /pre tags:

It will look fine in Courier font on 8052.com but will be crunched up by the time it gets emailed to me by maillist@8052.com tomorrow morning.



unsigned char i2c_write(unsigned char ch)
{
unsigned char twst;
while ((SSCON & (1



What you see is what you got. By the time my posting came through via email, it had ground to a halt as you see above.

The C function as posted was protected by the pre /pre tags. If I then quote text as I have just now you lose most of it.

I think that there is universal agreement that posting snippets of code should avoid tabs and encase within pre /pre html tags.

However it would be easier for new visitors if the system was more forgiving.

David.

List of 26 messages in thread
TopicAuthorDate
DS1307 code problem for AT89C52            01/01/70 00:00      
   What have you got so far?            01/01/70 00:00      
      Things i have got so far            01/01/70 00:00      
         DS1307            01/01/70 00:00      
         Code layout            01/01/70 00:00      
         PHEW            01/01/70 00:00      
         Use GPS receiver for Lat, Day and Time            01/01/70 00:00      
            Very good idea!            01/01/70 00:00      
            excellent idea            01/01/70 00:00      
            Why Both            01/01/70 00:00      
               have you heard of this thing called "Google"            01/01/70 00:00      
         Comments on Formula            01/01/70 00:00      
            there is code for this at the Maxim website            01/01/70 00:00      
               GPS Receiver-Good Idea            01/01/70 00:00      
                  Why both??            01/01/70 00:00      
                  Using the DS1307            01/01/70 00:00      
                     re \"suggestion to Craig\"            01/01/70 00:00      
                        8052.com expanding tabs into spaces            01/01/70 00:00      
                           Just read            01/01/70 00:00      
                              Tabs, 8052.com and email            01/01/70 00:00      
                                 crunched by quoting AND email            01/01/70 00:00      
                                    Bug in quoting            01/01/70 00:00      
                                 pre tags            01/01/70 00:00      
                           it is not just the tabs            01/01/70 00:00      
                     TABs are entirely unreliable - just avoid them!            01/01/70 00:00      
   Tracking            01/01/70 00:00      

Back to Subject List