|
I'm doing this which obviously is wrong:
do
loop forever
line = source.readLine()
c=c+1
if line = null then leave
parse line dev . . . . . . . . await . .
device[dev]=await+await
say c device[dev]
end
source.close()
Compilation succeeds but running it gives:
# java m
Exception in thread "main" java.lang.NumberFormatException: sda
at netrexx.lang.Rexx.toint(Unknown Source)
at m.main(m.nrx:21)
|