This page deals exclusively with the functions provided by LitDev to use Functions and subroutines with parameters. The last page demonstrated what can be don with Small Basic 1.2 but highlights the limits imposed by not being able to use parameters with calls to subroutines and functions.
The LitDev extension gets around this by providing a LDCall object that supports several variations – not all covered here. See the Methods panel opposite.
Using LitDev LDCall you can pass values and variables directly to a subroutine
This is an example of a subroutine using the LitDev extension method LDCall.Function(). Using this resource, it is possible to write subroutines and functions that focus entirely on the required task rather than on the limitations of Small Basic.