Feedback
Allow optional parameters to default from earlier arguments
- Status
- Fixed
- Fixed in
- v26.7.2
- Source discussion
- https://forum.objo.dev/d/558-allowed-expressions-in-optional-method-args
- Last updated
- 2026-07-12
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Optional parameter defaults can use earlier arguments when the caller omits the optional value. This supports declarations such as Optional count As Integer = description.Length, so methods can derive sensible defaults from values already supplied by the caller.