[Oberon] Anonymous procedure?
Skulski, Wojciech
skulski at pas.rochester.edu
Fri Jan 18 03:35:39 CET 2019
Peter:
>Can an anonymous procedure be assigned to a procedure
>variable in any Oberon language. Illustrated hypothetically
>by this.
>(* Assign anonymous null procedure to Append. *)
>PROCEDURE NullifyAppend*(); BEGIN Append := PROCEDURE BEGIN END END NullifyAppend;
What is the motivation?
If I am not mistaken, you can assign NIL, which becomes an anonymous procedure which stops the execution when called. Is this what you need?
Wojtek
More information about the Oberon
mailing list