KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: How to check programmatically if database is compiled
PRODUCT: 4D | VERSION: 2004.3 | PLATFORM: Mac & Win
Published On: February 3, 2006

You can check if the database is compiled programmatically using the Compiled Application command.
In some cases, you may need to run a debug code only if your database is running in interpreted mode. To do this, you can execute code similar to the code below:

If (Not(Compiled application))
  `run debug code
  ........
Else
  .......
End if