# This is a comment
echo("What is the temperature in C? ")
var cstr : string = readLine(stdin)
var c : float = float(cstr)
echo("C = ", c, "!")
$ nim c -r convertCtoFver1.nim
config/nim.cfg(53, 3) Hint: added path: '/Users/ssiew/.babel/pkgs/' [Path]
config/nim.cfg(54, 3) Hint: added path: '/Users/ssiew/.nimble/pkgs/' [Path]
Hint: used config file '/Users/ssiew/builddir/Nim/config/nim.cfg' [Conf]
Hint: system [Processing]
Hint: convertCtoFver1 [Processing]
convertCtoFver1.nim(4, 22) Error: conversion from string to float is invalid