delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/08/11:47:49

Message-ID: <3553258D.5C54@bergen.mail.telia.com>
Date: Fri, 08 May 1998 17:32:29 +0200
From: John Kismul <john DOT kismul AT bergen DOT mail DOT telia DOT com>
Reply-To: john DOT kismul AT bergen DOT mail DOT telia DOT com
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Problems with variables
NNTP-Posting-Host: t6o204p46.telia.com
Lines: 13
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi

I've got a problem with using variables in my programs.
Sometimes when I try to access a variable, my program will access
another variable instead.

	char A
	char B

	A = 45; This will set both A and B to 45.

It doesn't happen with every variable I use, only some of them.
The compiler I'm using is PGCC 1.0.1

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019