proc countup(a, b: int): int = var res = a while res <= b: return res inc(res)
Standard input is empty
prog.nim(5, 8) Error: statement not allowed after 'return', 'break', 'raise' or 'continue'
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!