www.digitalmars.com         C & C++   DMDScript  

D - toInt() problem

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