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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/09/04 22:19
Read: times


 
Msg Score: +2
 +2 Good Answer/Helpful
#72228 - Do _*NOT*_ use MS-Word!!!!!
Responding to: ???'s previous message
Caleno said:
I opened it and I found that some of the text in this file has those under score red and green
lines that indicate wrong spelling or needs a capital letter


MS Word (or any other word processor) is for writing prose to be read by people, with nice formatting like bold and italic and underline - it is completely the wrong tool to use for writing 'C' source code!

The spelling & grammar checkers in MS-Word (or any other word processor) are for checking English (or whatever other) language spellings - they know nothing about the 'C' programming language!

You need to use a Text Editor for editing source files - Keil uVision includes a Text Editor.

Caleno said:
I copied it and paste into Microsoft word and save it as .h...that could be the problem here...right?

Almost certainly!

At this stage, I think probably your best move would be to uninstall Keil, and start again from scratch. Remove all your .c, .h, and any other source files from the PC - especially anything you have touched with MS-Word!
(you migh want to keep a backup on CD or floppy or something).
Then, re-install Keil and BEFORE YOU DO ANYTHING ELSE, read the uVision Getting Started guide, and work through the example projects in it.

This will give you a proper introduction to the tools - including the text editor - and only then should you start fiddling with adding stuff to the device database.



List of 11 messages in thread
TopicAuthorDate
Adding LPC935 to Device Database            01/01/70 00:00      
   RE: Adding LPC935 to Device Database            01/01/70 00:00      
   Not a C source file?            01/01/70 00:00      
      RE: Not a C source file?            01/01/70 00:00      
         RE: Not a C source file?            01/01/70 00:00      
         RE: Not a C source file?            01/01/70 00:00      
            RE: Not a C source file?            01/01/70 00:00      
         Do _*NOT*_ use MS-Word!!!!!            01/01/70 00:00      
            RE: Do _*NOT*_ use MS-Word!!!!!            01/01/70 00:00      
         Not a C programmer?            01/01/70 00:00      
            RE: Not a C programmer?            01/01/70 00:00      

Back to Subject List