Talk:Validate IP function: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
 
No edit summary
 
Line 1: Line 1:
curious... why the check for a number < 0 ?  Wouldn't the only way in which this would occur be through a minus sign, which would be trapped by the check for non-numeric / period characters? [[User:ZeBoxx|ZeBoxx]] 06:48, 24 March 2007 (PDT)
curious... why the check for a number < 0 ?  Wouldn't the only way in which this would occur be through a minus sign, which would be trapped by the check for non-numeric / period characters? [[User:ZeBoxx|ZeBoxx]] 06:48, 24 March 2007 (PDT)
:It can be negative in case of an overflow. --[[User:Kichik|kichik]] 07:37, 24 March 2007 (PDT)

Latest revision as of 14:37, 24 March 2007

curious... why the check for a number < 0 ? Wouldn't the only way in which this would occur be through a minus sign, which would be trapped by the check for non-numeric / period characters? ZeBoxx 06:48, 24 March 2007 (PDT)

It can be negative in case of an overflow. --kichik 07:37, 24 March 2007 (PDT)