Archive: check for integer??


check for integer??
Hi,

given a string obtained from an install options screen is there a way of checking if the user entered a valid integer? The only way i could think of was MODULUSs it by 1 and seeing if it was 0. However this is far from ideal since 0 is a valid integer. Has anybody else attempted anything like this?

Steve


You can use:

http://nsis.sourceforge.net/archive/...php?pageid=350


nice one thats exactly what i needed, thanks