Expands to a number (Starting at 0 and incrementing by 1 every time it is used)

    5.2.2 ${FILE}

    Current script name.

    5.2.3 ${FILEDIR}

    Current script directory.

    5.2.4 ${LINE}

    Current line number.

    Date when the script started compiling according to the current locale.

    5.2.6 ${TIME}

    Time when the script started compiling according to the current locale.

    5.2.7 ${TIMESTAMP}

    Date & time of the last modification to the script file according to the current locale.

    5.2.8 ${NSIS_VERSION}

    NSIS version used to build the script.

    5.2.10 ${NSIS_CHAR_SIZE}

    The size of a character code unit (in bytes). 1 in ANSI installers and 2 in Unicode installers.

    A cluster consists of a base character plus optional combining characters and diacritics and is defined as one or more code points. One or more code units is required to encode a single code point.

    5.2.11 ${NSIS_PTR_SIZE}

    The size of a pointer (in bytes) in the generated installer.

    5.2.12 ${U+1}…${U+10FFFF}

    A Unicode (UCS-4) character.

    1. DetailPrint "${U+2115}SIS" # DOUBLE-STRUCK CAPITAL N + "SIS"

    Standard predefines that contain information about the current code scope.

    5.2.13.1 ${GLOBAL}

    Defined in the global scope.

    5.2.13.2 ${SECTION}

    Defined as the section name, without any prefixes, in section scope.

    1. !ifdef __SECTION__
    2. !error "this shouldn't be here!"
    3. !endif
    4.  
    5. Section test
    6. !ifndef __SECTION__
    7. !error "missing predefine!"
    8. !endif
    9.  
    10. !if ${__SECTION__} != test
    11. !error "wrong predefine value!"
    12. !endif
    13. SectionEnd
    14.  
    15. Section !test
    16. !if ${__SECTION__} != test
    17. !error "wrong predefine value!"
    18. SectionEnd
    19.  
    20. Section un.test
    21. !if ${__SECTION__} != test
    22. !error "wrong predefine value!"
    23. !endif
    24. SectionEnd

    5.2.13.3 ${FUNCTION}

    Defined as the function name, without any prefixes, in scope.

    5.2.13.4 ${PAGEEX}

    Defined as the page type in PageEx scope.

    1. !ifdef __PAGEEX__
    2. !error "this shouldn't be here!"
    3. !endif
    4.  
    5. PageEx instfiles
    6. !ifndef __PAGEEX__
    7. !error "missing predefine!"
    8. !endif
    9.  
    10. !if ${__PAGEEX__} != instfiles
    11. !error "wrong page type"
    12. PageExEnd

    5.2.13.5 ${UNINSTALL}

    Defined in , function or scopes of the uninstaller.

    5.2.13.6 ${MACRO}