Thanks for this quick reply.
-----Message d'origine----- De : gpc-owner@gnu.de [mailto:gpc-owner@gnu.de] De la part de Frank Heckenbach Envoyé : March 14, 2006 10:52 À : gpc@gnu.de Objet : Re: Variable number of parameters
Pascal Viandier wrote:
Is there a mechanism in GPC to pass a variable number of parameters to a
Pascal
procedure (and to know how many they are?).
No.
I would like to implement something like the C "sprintf()" in Pascal.
Not necessary. WriteStr is built-in already.
There is no description or example for WriteStr entry in the GPC documentation. Is it possible to make something like sprintf(s, "%04d", i) with WriteStr, i.e. with leading zeroes?
Regards
Pascal Viandier
Frank
-- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: ACB3 79B2 7EB2 B7A7 EFDE D101 CD02 4C9D 0FE0 E5E8