FHannes Posted May 17, 2011 Share Posted May 17, 2011 (edited) SCAR contains a number of standard compiler defines that allow you to easily create backwards compatibility in your scripts. You can include/exclude code from a script during compilation with these. Defines: DIVI - Defines in every SCAR Divi version since about 3.04 SCAR3xx-yy_UP - Defined in every SCAR Divi version since 3.38.00, the xx is replaced by the major version number and yy by the minor version number. For 3.38.00 this would be SCAR338-00_UP. These defines remain in every version following the one where it was added. SCAR3xx_UP - Defined in every SCAR Divi version since about 3.04, the xx is replaced by the major version number. For 3.25 this would be SCAR325_UP. These defines remain in every version following the one where it was added. SCAR3xx - Defined in every SCAR Divi version since about 3.04, the xx is replaced by the major version number. This is removed witht he next version where a new one for that version is present. PORTABLE - Only present in the portable version of SCAR as of the 3.25 release. SCAR_PREALPHA - Only present in pre-alpha releases of SCAR as of the 3.32 release. Pre-alpha releases are usually not distributed to the public. SCAR_ALPHA - Only present in alpha releases of SCAR as of the 3.32 release. SCAR_BETA - Only present in beta releases of SCAR as of the 3.32 release. SCAR_RC - Only present in release candidate releases of SCAR as of the 3.32 release. SCAR_FINAL - Only present in final build releases of SCAR as of the 3.32 release. Note that the SCAR3xx_UP and SCAR3xx defines will change to SCAR4xx_UP and SCAR4xx for SCAR 4 when it's released, all older 3xx defines will still be in there. Edited December 13, 2012 by Freddy Quote Link to comment Share on other sites More sharing options...