-
Is the code below build in the standalone application (may I let it as is once it is useless ?)
-
That code without # works fine (too).
#If DebugBuild Then
// Do extra logging
System.DebugLog("App Start")
#Endif
Xojo 2015r1 / 2018r4
El Capitan
Nota: press Return while the cursor is in the title will post the conversation
[quote=430901:@Emile Schwarz]1. Is the code below build in the standalone application (may I let it as is once it is useless ?)
[/quote]
It will not be in the built application
[quote=430901:@Emile Schwarz]2. That code without # works fine (too).
#If DebugBuild Then
// Do extra logging
System.DebugLog("App Start")
#Endif
[/quote]
The # indicates a compiler directive. With the # the compiler will include it in the DebugBuild but not when you build the standalone app. Without the #, it will be included in all types of builds.