B4J Question Restart the App

Magma

Well-Known Member
Licensed User
It is a regular sub. You can call it like you call any other sub.
B4X:
    Dim a As String
    AppStart(MainForm,a)
returns:

Parsing code. 0.01
Compiling code. Error
Error compiling program.
Error description: Cannot cast type: {Type=String,Rank=0, RemoteObject=True} to: {Type=String,Rank=1, RemoteObject=True}
Occurred on line: 168
AppStart(MainForm,a)
Word: a
 
Top