Andrew Pennebaker wrote: > Thanks, the conditional execution code helps a lot. Does > $IFDEF look for an environment or Makefile variable?
No, it looks for previously defined variables. You can define variables using -dMyVar command line switch when running the compiler, or {$DEFINE MyVar} in source code. It is possible to use the first approach in makefiles. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal