Does anyone know how to access "ellipsis" parameters for that define variable argument lists for precedures on a Pentium linux system. e.g. Procedure A_Procedure ( a: Integer; ... );
The GNU pascal documentation says the access method is implementation dependent, but as far as I can see doesn't give any methods [I've tried accessing via pointers and successfully crashed my computer]
Thanks John Blakeney
J Blakeney wrote: [lines with 205 characters]
Better break your lines after at most 72 characters. Not everybody has a monitor that can display 205 characters in a line ...
Does anyone know how to access "ellipsis" parameters for that define variable argument lists for precedures on a Pentium linux system. e.g. Procedure A_Procedure ( a: Integer; ... );
The GNU pascal documentation says the access method is implementation dependent, but as far as I can see doesn't give any methods [...]
Indeed, we currently have no method to access those "ellipsis" parameters. Those are merely useful for compatibility with C, for instance when calling functions like `printf' from Pascal.
Anyway: Since they break type-checking it's better to avoid ellipsis parameters except for those cases where you do not have the choice.
Hope this helps,
Peter