Derek Johnson Active Member Licensed User Longtime User Jun 15, 2017 #1 In VBA and VB you can call a sub in two ways: either Code: Call MySub(a,b,c) or just Code: MySub a,b,c In B4A you use Code: MySub(a,b,c) (With functions the syntax is identical between VBA/VB and B4A ie result=myFunction(a,b,c).) When you are trying to convert some code from VBA/VB to B4A you can't do a straight edit to convert the subs and you need to add in the brackets. I've no idea if it would be a big deal to allow the alternative syntax but it would be a very convenient if you could use things like Code: log a,b,c instead of Code: log(a,b,c) There's probably a really good reason for the way things are connected with parsing the code but the alternative syntax would be very useful. Derek
In VBA and VB you can call a sub in two ways: either Code: Call MySub(a,b,c) or just Code: MySub a,b,c In B4A you use Code: MySub(a,b,c) (With functions the syntax is identical between VBA/VB and B4A ie result=myFunction(a,b,c).) When you are trying to convert some code from VBA/VB to B4A you can't do a straight edit to convert the subs and you need to add in the brackets. I've no idea if it would be a big deal to allow the alternative syntax but it would be a very convenient if you could use things like Code: log a,b,c instead of Code: log(a,b,c) There's probably a really good reason for the way things are connected with parsing the code but the alternative syntax would be very useful. Derek