lua-users home
lua-l archive

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


OK.

I know only very old MSX BASIC (from 80's) where you have obligatory line numbering and your IF will end at current line (not possible to write multiline IF constructs either). The END was only for ending program (like os.exit()). That's why


On Wed, Apr 30, 2014 at 5:10 PM, Rob Kendrick <rjek@rjek.com> wrote:
On Wed, Apr 30, 2014 at 04:56:54PM +0300, Volodymyr Bezobiuk wrote:
> Heh yeah, but Basic's END has no __syntactic__ significance, by the way. Am
> i wrong?

IF foo% = 1 THEN
  ...
END IF

Without the END, how would it know you weren't having a nested IF
clause?

B.