This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

dubug functions

hi everyone i am trying to right a debug funtion SIGNAL as

SIGNAL void function (void)
{
PORT0 = ~ PORT0;
twatch(1000);
}

But when i compile it it gives error

 ****error 6;line 10; syntex error

can anyone figure it out

Parents
  • Is it always necessery to write it after closing function,other then SIGNAL fuction ,in debug funtions...
    I failed to fully answer your post. I'm sorry that I did not read more closely.
    It is required for all entries in the Debugger editor.
    I believe it grew out of the fact that in the past, these test functions where entered from the Debugger command line and to get any entry at the command line required a CR. This was carried over into the Debugger editor about the time that uVision2 became uVision3.
    The normal delimiter in the limited debugger editor is the LF/CR or rather the CR. In typing you would normally use the CR but when you cut and paste you lose the last CR. I'm aware of this problem since I step into this crack about every time I use the Debugger editor.

Reply
  • Is it always necessery to write it after closing function,other then SIGNAL fuction ,in debug funtions...
    I failed to fully answer your post. I'm sorry that I did not read more closely.
    It is required for all entries in the Debugger editor.
    I believe it grew out of the fact that in the past, these test functions where entered from the Debugger command line and to get any entry at the command line required a CR. This was carried over into the Debugger editor about the time that uVision2 became uVision3.
    The normal delimiter in the limited debugger editor is the LF/CR or rather the CR. In typing you would normally use the CR but when you cut and paste you lose the last CR. I'm aware of this problem since I step into this crack about every time I use the Debugger editor.

Children
No data