[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: "Empty" statement ?
- From: Nicolas Noble <pixel@...>
- Date: Tue, 27 Apr 2004 04:27:49 +0200
Hello,
Just a quick (and maybe dumb) question: isn't there any 'empty'
statement ? Here is the reason of my very small problem:
$ lua
Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio
> print("foo")
foo
> print("foo");
foo
> print("foo"); print("bar");
foo
bar
> print("foo");;
stdin:1: unexpected symbol near `;'
> print("foo"); ;
stdin:1: unexpected symbol near `;'
I don't quite see a good reason for the empty statement not beeing valid
here...