[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Re: Re: Antwort: global keyword instead of local
- From: Martin_Doering@...
- Date: Tue, 29 Aug 2000 09:03:39 +0200
>"In C, if I declare a variable in the function, then it's local. That's
why
> I was surprised that in Lua I have to declare a variable in the function
so
> that it's local."
Erm... I forgot something - yes. I forgot to say, that it is done in C
automatically - it depends where it stands, in Lua you need an explicite
statement.
--------------------------------------------------------------------------------------------------------
Martin Döring, Systemtechnik (IDT)
MAN Nutzfahrzeuge AG
Dachauerstraße 667
D-80995 München
Tel.: +49(0)89 / 1580 - 1199
Fax: +49(0)89 / 1580 - 91-1199
E-Mail: Martin_Doering@mn.man.de