Old 12th September 2003, 18:33   #1
moredip
Junior Member
 
Join Date: Sep 2003
Posts: 6
how to do equivalent of atoi

Hi all,

Is there a simple way to perform string to int conversion (a la the C atoi() function) in NSIS, without resorting to plugins?

Thanks,

Pete
moredip is offline   Reply With Quote
Old 12th September 2003, 18:41   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Ints are strings too in NSIS. IntOp for example, works with strings which are internally converted to ints using atoi.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 12th September 2003, 18:45   #3
moredip
Junior Member
 
Join Date: Sep 2003
Posts: 6
Oh, ok. That makes life easier

Thanks!
moredip is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump