Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2004-03

Default parameters support?

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Steve Williams

Does FPC support default parameters in procedures/functions? I have FPC 1.0.10 and I cannot get it to compile Delphi code that has default parameters. I'm using the -Sd option, but I cannot find any mention of default parameters in the documentation.

I cannot try FPC 1.9.2 since it is only offered through FTP and our work firewall blocks all FTP access.

Sly

Reply by email

kractor
to Steve Williams
Steve Williams wrote 17 lines
Does FPC support default parameters in procedures/functions? I have FPC 1.0.10 and I cannot get it to compile Delphi code that has default parameters. I'm using the -Sd option, but I cannot find any mention of default parameters in the documentation. I cannot try FPC 1.9.2 since it is only offered through FTP and our work firewall blocks all FTP access. Sly _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

you could always try compiling the CVS ... :)

Reply by email

Steve Williams
to kractor
>I cannot try FPC 1.9.2 since it is only offered through FTP and our work >firewall blocks all FTP access. you could always try compiling the CVS ... :)

The CVS port is blocked as well. :) If it doesn't work over port 80, it's a no-go. The network admins have locked down the firewall pretty solid.

Sly

Reply by email

Marco van de Voort
to Steve Williams: Does FPC support default parameters in procedures/functions? I have FPC 1.0.10 and I…
Does FPC support default parameters in procedures/functions? I have FPC 1.0.10 and I cannot get it to compile Delphi code that has default parameters. I'm using the -Sd option, but I cannot find any mention of default parameters in the documentation.

Default parameters, Interfaces, Dynamic arrays, widestrings, variants are 1.9+

Not implemented are interface delegation (implements keyword) and dispinterfaces.

http://www.freepascal.org/wiki/wiki.phtml?title=Language_related_articles&PHPSESSID=b3011df02a827cd164c925b7339fa651

I cannot try FPC 1.9.2 since it is only offered through FTP and our work firewall blocks all FTP access.

Talk to your sysadmin :)

Reply by email

Peter Vreman
to Steve Williams: Does FPC support default parameters in procedures/functions? I have FPC 1.0.10 and I…
Show quoted text 7 lines
Does FPC support default parameters in procedures/functions? I have FPC 1.0.10 and I cannot get it to compile Delphi code that has default parameters. I'm using the -Sd option, but I cannot find any mention of default parameters in the documentation. I cannot try FPC 1.9.2 since it is only offered through FTP and our work firewall blocks all FTP access.

The files are also available from sourceforge:

http://sourceforge.net/project/showfiles.php?group_id=2174

Reply by email