lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Brackets mean that something is optional. In this case, you can call
the function with one or two arguments: `assert(v)` or `assert(v,
message)`.

— Gabriel


On Wed, Nov 7, 2018 at 6:33 PM Luke <lemmett81@gmail.com> wrote:
>
> And what brackets mean in the reference manual's list of basic functions e.g.
>
> assert (v [, message])
>
> Luke
> On Thu, 8 Nov 2018 at 00:26, Luke <lemmett81@gmail.com> wrote:
> >
> > Thanks. I wonder why no definition of 'operator'
> > Cheers
> > On Thu, 8 Nov 2018 at 00:16, Paul Merrell <marbux@gmail.com> wrote:
> > >
> > > On Wed, Nov 7, 2018 at 4:02 PM Luke <lemmett81@gmail.com> wrote:
> > >
> > > > I wonder if there's a webresource etc.
> > > > that includes a glossary necessary to understand manuals etc.
> > >
> > > <https://rawgit.com/dlaurie/lua-notes/master/glossary.html>.
> > >
>