[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Chamadas de Funções em outros arquivos...
- From: Reuben Thomas <rrt@...>
- Date: Thu, 28 Jun 2001 14:17:17 +0100 (BST)
> Øhhh Det ved jeg ikke rigtigt, måske skulle du prøve at trykke på nogle
> taster eller skrive noget kode.
Not sure, as Norweigan is harder to decode for me, with a mainly
Germanic/Romance/classics background, than Portuguese, whether this is a
joke or a reply. In English, I'm guessing that you're asking how to call a
function declared in an outer scope. The way is to use an upvalue, same as
for any other variable, e.g.:
function f()
function g()
...
end
function h()
... %g() ...
end
end
(Original question was:)
> Como poderia chamar uma função que está declarada em um outro arquivo???
--
http://sc3d.org/rrt/ | humour, n. unexpected recognition