Default Parameters

Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1362
Registered: 03 / 2005
Subject:

Default Parameters

 · 
Posted: 14.02.2019 - 15:45  ·  #1
Syntactically, it seems, default parameters for functions and procedure are allowed

Code
procedure RecheckList(  IncludeLocalItems : boolean = FALSE );


But they don't seem to be implemented

Code
RecheckList; // throws error parameter expected


Is this a feature that was planned?

Is it still planned? I would find it useful
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: Default Parameters

 · 
Posted: 15.02.2019 - 15:46  ·  #2
Hello Merlin,
sorry. This construction is not supported.

rolf
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1362
Registered: 03 / 2005
Subject:

Re: Default Parameters

 · 
Posted: 15.02.2019 - 16:22  ·  #3
OK Rolf - just wondered.

No problem.
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 15 · Cache Hits: 14   64   78 · Page-Gen-Time: 0.089334s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI