return =

Waldemar Horwat waldemar at google.com
Thu Sep 6 00:12:46 UTC 2018


On 09/03/2018 11:32 AM, Isiah Meadows wrote:
> There is literally only one language I've seen that has anything like
> this, and it's Verilog, a hardware description language. (It's also of
> questionable utility, and it's restricted to just simulator-only
> constructs.) That's not an endorsement, more like the opposite of one.

Pascal works that way too.  You use an assignment statement to assign to the name of the function to set a function's return value.

     Waldemar


More information about the es-discuss mailing list