Magma Expert Licensed User Longtime User Dec 15, 2014 #1 A very simple question, i guess.. How can i call the AppStart... ? Not ending the app, just recall appstart..? Thank you
A very simple question, i guess.. How can i call the AppStart... ? Not ending the app, just recall appstart..? Thank you
Erel B4X founder Staff member Licensed User Longtime User Dec 16, 2014 #2 It is a regular sub. You can call it like you call any other sub. Upvote 0
Magma Expert Licensed User Longtime User Dec 16, 2014 #3 Erel said: It is a regular sub. You can call it like you call any other sub. Click to expand... 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 Click to expand... Upvote 0
Erel said: It is a regular sub. You can call it like you call any other sub. Click to expand... 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 Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Dec 16, 2014 #4 The second parameter is an array: B4X: AppStart(MainForm, Array As String("1")) Upvote 0