You can use conditional compilation to differentiate among target types when you are developing an application that you plan to deploy to more than one platform. PowerBuilder provides five preprocessor symbols for different target types. You can wrap code that should be parsed only in a specific target type in a #if defined symbol...#end if statement. There is also a DEBUG symbol that you can use to tag code that should only be compiled in a debug build.
For more information, see “About conditional compilation” in Deploying Applications and Components to .NET and “Conditional compilation” in the PowerScript Reference.