lua-users home
lua-l archive

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


> $ lua53
> Lua 5.3.0 (work2)  Copyright (C) 1994-2014 Lua.org, PUC-Rio
> > [[ a ]]
>  a
> > [[ a
> >> ]]
> stdin:2: unexpected symbol near '[[ a
> ]]'
> >

The expression evaluator only works for complete lines:

  > 3 +
  stdin:1: unexpected symbol near '3'

If you are going to write multiple lines, you can add the '=' by hand :)

-- Roberto