Hello friends, In Assembly editor in KEIL (for 89LPC9xx series), things go easy. You make a jump point AT ANY LINE of main code(like point0:) and then you can conditionally jump back there to do something or reloop, according to program needs. Is there any chance you can do it with C ( ? ? ). Ofc there are (as i, a newbie knows) some looping statements like while() or for () - but in a specific application i am working these arent enough :(
I have the full flowing diagram of the code i need and i can email it to you just to see. If it was assembly it should be done by me and ready to release the project it in production line, but for C.... I am stuck for now...
Best regards all :) Timothy Kondos
I magine a keyboard switch debouncer and full conditional jumps to processes dependable[sic] from user keyboard commands..... Goto seems a one way solution. Anyway, dont tell that to purists :(
the goto accepted by the purists is called a switch statement which seems to be exactly what you discuss in your 'example'
a switch statement, basically, is a "goto if"
Erik