default value in procedure

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Post Reply
scorpion7552
Posts: 182
Joined: 2004-02-05 11:57:33
Location: Paris, France

default value in procedure

Post by scorpion7552 »

In Delphi, there is a possibility to declare procedures or functions with default parameters
If I am right, the syntax is something like this

procedure myproc(var1: string; var2 : string = 'default value');

but, this does not work inside scripts. What do you think of that :/

In the same idea, could it be possible to have the list of Delphi functions and procedures available in scripts (only the list, for the parameters we can search elsewhere :)) . That would be great ;)
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

If it does not work in the scripts it means that IFPS does not support it, I guess :D

For a list of available procedures and functions (except those that I added and that are listed) I should go in IFPS source code and make a list, since I do not know myself all the available procedure and functions.
Post Reply