@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
Im trying to automate many platforms.

I have thought of this way to do it:
is there more automated way to do it? So i dont create separate IF and "call function" every platform?
It can get very messy once I reach 100 platforms this way
@yourfriendkarol Yes, eval() is what you need. It is obvious.
@yourfriendkarol
You can do like this.
_call(eval([[FUNCTION_NAME]]),null)!
Following solution will work for run mode, but won't work in record mode.