Hi the list,
Does GPC support a feature kindwise those of C compiler that is to define the content of something while you declare it?
I mean, assume I want to define one integer then to set it to naught, C allow me to replace
int c;
c=0
with int c=0;
Is GPC can do the same than elder brother gcc? If it can, is it a GPC feature or is it Borland compatible? And how to do it to initialise each field of a record?
See ya! Fabrice Llaussy
"Rune's Rule: If you don't care where you are, you ain't lost."
"Look out fo' flyeeng feet" O__/ \ laussy@nat.fr /|_____. - O <__./> / / \ __________|_________ http://ourworld.compuserve.com/homepages/BigApe323
According to FPL:
Does GPC support a feature kindwise those of C compiler that is to define the content of something while you declare it?
GPC supports all of the following:
Var i: Integer value 0; (* ISO-10206 Extended Pascal *) j: Integer := 0; (* VAX Pascal *) k: Integer = 0; (* GPC special *)
Const l: Integer = 0; (* For BP compatibility, this is in fact a variable. *) (* If you write to it, you get a warning except in *) (* `--borland-pascal' mode. *)
Greetings,
Peter
From: Peter Gerwinski peter@gerwinski.de Subject: Re: Initialisation while declaration To: laussy@nat.fr (FPL) Date: Mon, 4 May 1998 19:29:50 +0200 (MEST) Cc: gpc@hut.fi
According to FPL:
Does GPC support a feature kindwise those of C compiler that is to define the content of something while you declare it?
GPC supports all of the following:
Var i: Integer value 0; (* ISO-10206 Extended Pascal *) j: Integer := 0; (* VAX Pascal *)
k: Integer = 0; (* GPC special *)
This "GPC special" is also supported by Delphi 2.
Best regards, The Chief -------- Dr. Abimbola A. Olowofoyeku (The African Chief) Email: laa12@keele.ac.uk Homepage: http://ourworld.compuserve.com/homepages/African_Chief/ Author of: Chief's Installer Pro 4.25 for Win16 and Win32: ftp://ftp.simtel.net/pub/simtelnet/win3/install/chief425.zip
unsubscribe
------------------------------------------------------ This message sent using the FirstClass SMTP/NNTP Gateway. From: Choate Rosemary Hall 333 Christian St. Wallingford, CT. 06492
Can someone tell me how to unsubscribe as I lost my mail in a recent crash...
Thanks in advance