Hi all,

B4aCoder version 1.9 is now released. Download it to a PC and run the install procedure. The program will:

1) Create a backup of your B4A project

2) Format your code to make it easier to read.

3) Search for unused and wrongly scoped variables.

4) Search for dead subs and functions.


The program has the capacity to handle up to 99 .bas files (in theory). So far we have tested it with 22 bas files. Once the scan is complete you can print out a list of all recommendations to improve your code.


One or two recommendations for formatting were beyond my abilities. To handle these I have created two additional commands that you can place into your code to control the behaviour of the program:

'#coderoff

Type myStructure( _
	a As String, _
	b As Int, _
	c As Int)

'#coderon

These allow you to select area's of code that you do not want to be modified by the program.

Please let me know if you find any bits that do not work properly and also let me know if you have any suggestions for improvement. The program is free of charge and supplied in good faith but comes without warranty. Many people on the Basic4Android site have tested it to date however If you have any doubts about its fitness for purpose I recommend that you back up your data first.

If you find it useful please leave a message on the site.

