Action
Call and execute a subroutine.
Syntax
CALL Test [(var1, var-n)]
Remarks
| var1 | Any BASCOM variable or constant. | 
| var-n | Any BASCOM variable or constant. | 
| Test | Name of the subroutine. In this case Test | 
With the CALL statement you can call a procedure or subroutine.
As much as 10 parameters can be passed but you can also call a subroutine without parameters.
For example : Call Test2
The call statement enables you to implement your own statements.
You don't have to use the CALL statement:
Test2 will also call subroutine test2
When you don't supply the CALL statement, you must leave out the parenthesis.
So Call Routine(x,y,z) must be written as Routine x,y,z
See also
Example
Dim A As Byte , Bb As Byte
Declare Sub Test(bb As Byte)
A = 65
Call Test(a) 'call test with parameter A
Test A 'alternative call
End
Sub Test(bb As Byte) 'use the same variable as the declared one
Lcd Bb 'put it on the LCD
Lowerline
Lcd Bcd(bb)
End Sub