Unicon

Sucesso & Falha

Porra. Essa merda não salienta sintaxe para Pascal ou ObjectPascal ou Delphi. Sucks !!

procedure main()
  &window := open("hello", "g", "drawop=reverse")
  repeat if Event() === (&ldrag | &mdrag | &rdrag) then {
    # erase box at old position, then draw at new position
    FillRectangle(\x, \y, -20, -20)
    FillRectangle(x := &x, y := &y, -20, -20)
  }
end