| ??? 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? |



