[Oberon] PO2013 - SD Image Tool

Paul Reed paulreed at paddedcell.com
Sat May 23 15:18:34 CEST 2020


Hi Tomas,

> I believe is a typo.
> 
> IF SYSTEM.BIT(swi, 0) THEN RS232.Send(ORD("0")) ELSE
> RS232.Send(ORD("1")) END ;
> 
> Mu argument
> IF TRUE THEN Send(ORD("1"))

Right.  It's actually a very easy kind of mistake to make when 
programming, the brain goes something like OK, I'll put the IF and ELSE 
clauses in a logical/aesthetic order, and then it forgets to go back and 
negate the expression. :)

Cheers,
Paul



More information about the Oberon mailing list