while p != nil and p.name != "xyz": # p == nil の場合、p.nameの真偽は評価されない p = p.next
Standard input is empty
prog.nim(1, 7) Error: undeclared identifier: 'p'
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!