Variable number of parameters_(re)
22 Mar 97 10:05:58 EST
You wrote:
>BTW, what about conformant arrays? Do they work with GPC, or are
>there
>still bugs? Somebody out there to write some documentation notes
>about
>conformant arrays to tell the poor Borland Pascal programmers (like
>me;)
>how to use them?
Here a sample (gpc: Internal compiler error: program gpc1 got fatal signal 11)
program TestConformantArrays; procedure Test1(var a: array[j..k: integer] of
real); var i: integer; begin for i := j to k do a[i] := 0.0; end; var
a1: array[0..9] of real; begin Test1(a1); end.
Groetjes,
Berend.
Berend de Boer (100120.3121@CompuServe.COM)
HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada -
Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es