@bogdan said in Compiled App Exit Function:
For anyone who is looking for a solution in the future here it is :
If you only need to call the "CloseApplication()" function, then you can do it easier:
HTML Code
Hello there. I have a function called "Test_ID" with two parameters called "user" and "pass". In my function I use "return" and I need to store the results in a variable. I tried to do this using "Embedded Languages" module in BAS. This is how my code looks like:
var testResult = await BAS_FUNCTION(
"Test_ID",
{user: [[USERNAME]], pass: [[PASSWORD]]}
)
However, everything stops after a URL is loaded in the "Test_ID" function. It doesn't proceed to the next lines for inputting user and pass. Therefore the "testResult" doesn't get updated.