Thread View: comp.sys.ibm.pc.programmer
1 messages
1 total messages
Started by David J. Camp
Tue, 20 Feb 1990 11:07
external variable disappears
Author: David J. Camp
Date: Tue, 20 Feb 1990 11:07
Date: Tue, 20 Feb 1990 11:07
16 lines
1150 bytes
1150 bytes
I am using Microsoft C 5.1. I have a variable defined before the first function declaration like this: int crc_flag; As soon as I enter the first function, CodeView reports that the value of the function has changed, from 1 to 0. The variable is not declared inside the function, and is not an argument in the function call. This seems wrong, based on my understanding of C. What should be happening? -David- Bitnet: david@wubios.wustl ^ Mr. David J. Camp Internet: david%wubios@wugate.wustl.edu < * > Box 8067, Biostatistics uucp: uunet!wugate!wubios!david v 660 South Euclid Washington University (314) 36-23635 Saint Louis, MO 63110
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads