Added Int64Fmt

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6931 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2017-10-15 16:57:26 +00:00
parent 1a039ca71f
commit 8de72ec7b1
8 changed files with 30 additions and 17 deletions

View file

@ -20,9 +20,9 @@ Released on ??? ??rd, 20??
\S2{} Minor Changes
\b Added \R{intptrcmp}{IntPtrCmp}, IntPtrCmpU, Int64Cmp and Int64CmpU
\b Added \R{intptrcmp}{IntPtrCmp}, IntPtrCmpU, and \R{intptrop}{IntPtrOp}
\b Added \R{intptrop}{IntPtrOp}
\b Added Int64Cmp, Int64CmpU and Int64Fmt (64-bit only)
\b Added IntOp and System::Int64Op >>> operator

View file

@ -9,6 +9,16 @@ Formats the number in "numberstring" using the format "format", and sets the out
\c IntFmt $0 "0x%08X" 195948557
\c IntFmt $0 "%c" 0x41
\S2{int64fmt} Int64Fmt
\c user_var(output) format numberstring
\NsisFuncReq64
\c Int64Fmt $0 "%I64x" 244837743786702
\# InternalNote: There is no IntPtrFmt instruction because "%p" is 2000+ and "%Ix" is XP+. Consequently, all code needs to check ${NSIS_PTR_SIZE}.
\S2{intop} IntOp
\c user_var(output) value1 OP [value2]