In trunk, this .nil comparison fails:

  id = 120
  do while (id \= .nil)
    say id
    id += 1
    if id > 125 then leave
  end
  say 'out of loop, id:' id

Yields:

out of loop, id: 120

While the strict comparison works:

  id = 120
  do while (id \== .nil)
    say id
    id += 1
    if id > 125 then leave
  end
  say 'out of loop, id:' id

Yields:

120
121
122
123
124
125
out of loop, id: 126

--
Mark Miesfeld

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to