• at-sign not working in user pre-build commands
    So I want to run a pre-build program and pass it a file name and the project name The on-line help says that $P gives you the file path and at-sign gives you the project name (or at least hints at...
  • MDK pre-build user command detect 'rebuild'
    When using USER commands is it possible to detect whether it is a 'build' vs. a 'rebuild'. Should there be a key-sequence to do so, but in the docs I found no info ? I would like to let the USER...
  • command line define
    From which version is it possible to use the DF (DEFINE) option at the command line? I doesn't seem to work in version 5?! I'm getting this error: ERROR: UNKNOWN CONTROL
  • Sub String in Pre-Processor?
    Does anyone know how to get the pre-processor to spit out a substring? In this case, I want to include only the year from the __DATE__ macro. Something like: #define YEAR=substr(8,4,__DATE__) const...
  • Nesting of pre-processor #if/#endif
    Hello. Using C51, is nesting of pre-processor #if/#endif statements allowed?