B4A Tutorial [B4X] Optional sub parameters - Erel    Aug 26, 2026   (22 reactions) This is a new feature that will be added to the B4X tools.
Optional sub parameters are parameters that are declared with a default value. If an optional parameter is omitted when the sub is called... Other New beta: B4i v10.3 with optional parameters, code bundle and more - Erel    Sep 3, 2026   (13 reactions) I'm happy to release a new beta version of B4i. This update includes the improvements added to B4A and B4J in the last couple of months. Optional parameters: https://www.b4x.com/android/forum/threads/171906/#content CodeBundle AI tool: https://www.b4x.com/android/forum/threads/b4j-v10-5... ThrowException keyword. Various libraries updated with default parameters. Errors in referenced b4xlibs... method that returns a read-only sub-list. New #Macro / comment link options: https://www.b4x.com/android... Other New release: B4A v14.0 with optional parameters - Erel    Sep 2, 2026   (34 reactions) B4A v14.0 follows B4J v10.7 and adds the optional parameters feature to B4X programming language... the potential for new language features. The first one is optional parameters.
'From:
Dim b... Other New release: B4J v10.7 with optional parameters, jServer 5 and more - Erel    Sep 2, 2026   (21 reactions) is optional parameters. 'From: Dim b() As Byte = "aaaa".GetBytes("UTF-8"....Download(url) 'To: Dim j As HttpJob j.Initialize j.Download(url) Improvements: Optional parameters: https://www.b4x.com/android/forum/threads/171906/#content jServer 5 based on Jetty 12.1: https.... Exception.StackTrace and ThrowException keyword. Various libraries updated with default parameters... Other B4J v10.7 BETA with optional parameters, jServer 5 and more - Erel    Aug 26, 2026   (25 reactions) . The first one is optional parameters.
Improvements:
Optional parameters: https://www.b4x.com/android/forum... keyword.
Various libraries updated with default parameters.
sqlite-jdbc.jar included in the internal... Wish Another plea for optional parameters - NeoTechni    Aug 18, 2017   (3 reactions) WindowTitle End Sub Whereas with optional parameters, I could just do: 'InputType: 0=decimal, 1... the parameter list of the function declaration to get the optional parameter's default values -when... That way you don't have to support optional parameters however Android/Java does it, you'd be making your own method which would also let you have any parameters optional, not just the last ones...Since my program is so large, it's getting increasingly difficult to add parameters to... Wish Optional Parameters - LWGShane    Mar 26, 2017   (3 reactions) Has there been any updates regarding Optional Parameters for B4X? It would be a very useful feature!... B4A Question Optional parameters - NeoTechni    Nov 22, 2011   (3 reactions) Optional parameters
This is a biggie,
We need to be able to do
sub Functionname(optional value as int=-1)
end sub
Hell, just assume it's optional if there is a = defaultvalue in... Wish I would like to have Optional Parameters for Subs - Widget (first post)    Jul 15, 2016   (2 reactions) Erel,
Is it difficult to implement optional parameters for Subs? From the thread that was started 4 years ago a lot of people thought it was a good idea.
When you have time, can you re-evaluate... B4A Question Optional parameters? - Widget (first post)    Jul 14, 2016   (1 reaction) I have created this as a Wish if anyone wants to vote on it.
https://www.b4x.com/android/forum/threads/i-would-like-to-have-optional-parameters-for-subs.68996/... Page: 1   2   3   4   5   6   7   |