lua-users home
lua-l archive
Re: "Empty" statement ?
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: "Empty" statement ?
From
: RLake@
...
Date
: 2004年4月26日 23:04:38 -0400
> isn't there any 'empty' statement ?
No. A chunk can consist of zero statements, which is not the same thing.
> Here is the reason of my very small problem:
>> print("foo");;
> stdin:1: unexpected symbol near `;'
So don't use semicolons? They are rarely necessary.
Follow-Ups
:
Re: "Empty" statement ?
,
Nicolas Noble
References
:
"Empty" statement ?
,
Nicolas Noble
Prev by Date:
Re: autocompletion code
Next by Date:
RE: "Empty" statement ?
Previous by thread:
"Empty" statement ?
Next by thread:
Re: "Empty" statement ?
Index(es):
Date
Thread
AltStyle
によって変換されたページ
(->オリジナル)
/
アドレス:
モード:
デフォルト
音声ブラウザ
ルビ付き
配色反転
文字拡大
モバイル