You can write

function (x)
    # body
    # goes
    # here
end


On Fri, Oct 28, 2016 at 3:00 PM, Yichao Yu <yyc1...@gmail.com> wrote:

> On Fri, Oct 28, 2016 at 2:59 PM, digxx <diger_d...@hotmail.com> wrote:
> > I didnt see it
>
>
>
> > f = function ()
> > end
> >
> > defines an anonymous function and assigns it to a variable f.
>

Reply via email to