Default Parameters

Merlin
Administrator
Avatar
Gender:
Age: 25
Posts: 1415
Registered: 03 / 2005
Subject:

Default Parameters

 · 
Posted: 14.02.2019 - 16: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: 25
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: Default Parameters

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

rolf
Merlin
Administrator
Avatar
Gender:
Age: 25
Posts: 1415
Registered: 03 / 2005
Subject:

Re: Default Parameters

 · 
Posted: 15.02.2019 - 17: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.020189s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI