Archive: How to handle with big value in NSIS script


How to handle with big value in NSIS script
Hi Everyone,

I am using IntOp (Integer manipulation support) to handle with value (ex: 125415). It works well if the value is small but it always has error when the value is big (ex: 6518415360). I want to ask if Anyone know any support that handle with big value.

Thanks,
Hien


You can use the System plugin to do 64-bit operations. This is one of the standard plugins which gets installed with NSIS. The documentation can be easily accessed via the "NSIS Menu" shortcut created when NSIS gets installed. An online copy is also available:

http://nsis.sourceforge.net/Docs/Sys...tml#64bitfuncs


Thanks pengyou, it works ok now.
I use the NSIS plugin to handle with the big value as example below:

System::Int64Op 5498449498849818 / 3
Pop $0