D - toInt() problem
- kinghajj (5/5) Jan 08 2004 code:
- Phill (6/11) Jan 08 2004 I use this
- kinghajj (2/18) Jan 08 2004
- J Anderson (2/33) Jan 09 2004
- kinghajj (1/1) Jan 09 2004 nevermind. I fixed it. Thx for your help.
code: int ivar = toInt(var); var is (in this case) "0". the error I get is "Error: Error: conversion 0" what's the problem?
Jan 08 2004
I use this import std.string; atoi("0") Phill "kinghajj" <kinghajj_member pathlink.com> wrote in message news:btl5u3$1oeq$1 digitaldaemon.com...code: int ivar = toInt(var); var is (in this case) "0". the error I get is "Error: Error: conversion 0" what's the problem?
Jan 08 2004
I still get the same error :( In article <btlcs2$2310$1 digitaldaemon.com>, Phill says...I use this import std.string; atoi("0") Phill "kinghajj" <kinghajj_member pathlink.com> wrote in message news:btl5u3$1oeq$1 digitaldaemon.com...code: int ivar = toInt(var); var is (in this case) "0". the error I get is "Error: Error: conversion 0" what's the problem?
Jan 08 2004
kinghajj wrote:I still get the same error :(Are you using a non-null terminated string? More code would be helpful.In article <btlcs2$2310$1 digitaldaemon.com>, Phill says...I use this import std.string; atoi("0") Phill "kinghajj" <kinghajj_member pathlink.com> wrote in message news:btl5u3$1oeq$1 digitaldaemon.com...code: int ivar = toInt(var); var is (in this case) "0". the error I get is "Error: Error: conversion 0" what's the problem?
Jan 09 2004
nevermind. I fixed it. Thx for your help.
Jan 09 2004