Dear Board,
regarding this: http://www.purebasic.fr/english/viewtop ... 041#p99041 (Executable-check on runtime - great thing!)
I found this issue: When compiling the word %EXECUTABLE gives back the name of the Console-App or the Name of the App-Bundle. The name of the Console-App is really useful, but the Name of the App-Bundle is not helpful for the above exe-checker. For now I have to give the full working path to my to-be-executable inside the App-Bundle.
Please, either introduce a second constant %EXECUTABLEFILE, e.g. which points to the executable (xyz.app/Contents/MacOS/xyz) or set the %EXECUTABLE accordingly to a console or MacOS-app

The Best solution for us Mac-coders would be...
%EXECUTABLE
Console: point to executable
MacOS: point to executable xyz.app/Contents/MacOS/xyz
%EXECETUABLEDIRECTORY
Console: point to executables directory
MacOS: point to xyz.app/Contents/MacOS
%APPDIRECTORY
Console: point to executables directory
MacOS: point to xyz.app
Thanks for reading...
