Mail Archives: djgpp/2000/03/14/12:27:21
From: | "Florian X" <dos DOT fire AT aon DOT at>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | need help
|
Date: | Tue, 14 Mar 2000 16:39:59 +0100
|
X-Newsreader: | Microsoft Outlook Express 4.71.1712.3
|
X-MimeOLE: | Produced By Microsoft MimeOLE V4.71.1712.3
|
Lines: | 36
|
Message-ID: | <38ce5d23$0$28656@SSP1NO17.highway.telekom.at>
|
NNTP-Posting-Host: | 212.183.94.209
|
X-Trace: | newsreader.vienna.highway.telekom.at 953048355 28656 212.183.94.209
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Hi!
I have this funktion:
void finished()
{
if (close_if_finished == true)
{
close_if_finished = false;
}
else
{
close_if_finished = true;
}
}
But if I call this the value close_if_finished won't change!!!
If I include a funktion (like seal_error[like printf], but I can be also
another funktion)
the value changes. What's the bug?
void finished()
{
if (close_if_finished == true)
{
close_if_finished = false;
seal_error(ERR_INFO, "%d", close_if_finished);
}
else
{
close_if_finished = true;
seal_error(ERR_INFO, "%d", close_if_finished);
}
}
Thanks, Florian
- Raw text -