B4J Question Restart the App

Magma

Well-Known Member
Licensed User
A very simple question, i guess..

How can i call the AppStart... ?

Not ending the app, just recall appstart..?

Thank you
 

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
 
Upvote 0

Magma

Well-Known Member
Licensed User
thank you !
 
Upvote 0
Top