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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/06/02 17:38
Read: times


 
#22600 - RE: Confirmed compatible with Tasking
I tried that little bit of code with nothing else and you're correct, it compiled. But when I try to add the se_print() function it gets messy because their example program calls a bunch of other functions in the execution of se_print(). I didn't get to play with this very much over the weekend though, hopefully I will this week.

Another issue that popped up is trying to use a struct. Instead of declaring a couple dozen pointers to xdata locations, it was easier to just use a structure. The code I used was textbook code -- literally by the book. I tried to reference Member1 of the struct like this:

tempData = MyStruct->Member1.

but I kept getting all kinds of messed up errors; depending on the syntax of how I defined the struct, even though it was by the book every time, the error messages would be different. Sometimes they would be totally unrelated, such as claiming I was missing a "}" or a ")", but mostly it seemed to be saying MyStruct was not recognized as a structure. At one point it starting reporting errors about the *commented* code.

The only way I could solve this was to use the "." operator to access the appropriate member of the struct.

Does anybody have any ideas on this one?

List of 29 messages in thread
TopicAuthorDate
Memory & strings; AT89C51            01/01/70 00:00      
RE: Memory & strings; AT89C51            01/01/70 00:00      
RE: Memory & strings; AT89C51            01/01/70 00:00      
RE: Memory & strings; AT89C51            01/01/70 00:00      
RE: Memory & strings; AT89C51            01/01/70 00:00      
RE: Memory & strings; AT89C51            01/01/70 00:00      
RE: Memory & strings - Niklas            01/01/70 00:00      
ASCII or Binary?            01/01/70 00:00      
RE: ASCII or Binary?            01/01/70 00:00      
RE: ASCII or Binary?            01/01/70 00:00      
RE: ASCII or Binary?            01/01/70 00:00      
RE: ASCII or Binary?            01/01/70 00:00      
RE: ASCII or Binary?            01/01/70 00:00      
RE: Memory & strings; AT89C51            01/01/70 00:00      
RE: Memory & strings; AT89C51            01/01/70 00:00      
RE: Memory & strings; AT89C51            01/01/70 00:00      
Confirmed compatible with Tasking            01/01/70 00:00      
RE: Confirmed compatible with Tasking            01/01/70 00:00      
Typo in above post            01/01/70 00:00      
RE: Confirmed compatible with Tasking            01/01/70 00:00      
RE: Confirmed compatible with Tasking            01/01/70 00:00      
RE: Confirmed compatible with Tasking            01/01/70 00:00      
More details on memory errors            01/01/70 00:00      
RE: Memory & strings; AT89C51            01/01/70 00:00      
RE: Memory & strings; AT89C51            01/01/70 00:00      
RE: More details on memory errors            01/01/70 00:00      
RE: Memory & strings; AT89C51            01/01/70 00:00      
RE: More details on memory errors            01/01/70 00:00      
RE: More details on memory errors            01/01/70 00:00      

Back to Subject List