Forum > General

Default parametrs doesnt work

<< < (3/3)

KodeZwerg:

--- Quote from: Zoran on September 28, 2022, 12:35:12 am ---
--- Quote from: KodeZwerg on September 28, 2022, 12:25:33 am ---This should fix your problem.
--- End quote ---
What? Const should not make a difference with this.
--- End quote ---
I am sorry, i had more in my mind, to what does the params write when there is no input.
Since I am new to Lazarus/FreePascal, please forgive my inexperience.

mas steindorff:
the Wiki is a good place look for these "how to" and "what is", things you have a name for.
see if ...
https://wiki.freepascal.org/Default_parameter/pl
explains this to your satisfaction ans se can go from there.

[edit..] was checking my post and saw the text was not  English so I clicked to change.  the English and some of the others have completely different code snippets!  the code in each is good.
Therefore, if available, look into the different language tabs for more info.
 

Navigation

[0] Message Index

[*] Previous page

Go to full version