[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] use of GOTO statement

From: Royce Pereira
Subject: Re: [avr-gcc-list] use of GOTO statement
Date: Sun, 14 Aug 2005 08:54:55 +0530
User-agent: Opera M2/8.02 (Win32, build 7680)


On Sun, 14 Aug 2005 06:18:20 +0530, Hugo González Monteverde <address@hidden> wrote:

Why exactly do you want to return to a different place? Looks like another, less complicated solution may be better. As Steve said, the standard way of having INT code affect non INT code is to set asynchronous flags (remember they should be volatile too) in the main() code...

In any case, I have never used goto myself and was wondering... I think it only allows jumping to a label in the same function... or is it a UNIXism of me?

That is correct. You cant jump(GOTO) out of a function.

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]