[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lua-l
Subject:    Re: Chamadas de Funções em outros arquivos...
From:       Roberto Ierusalimschy <roberto () inf ! puc-rio ! br>
Date:       2001-06-28 13:36:05
Message-ID: 200106281335.KAA02500 () obatala ! inf ! puc-rio ! br
[Download RAW message or body]

> Como poderia chamar uma função   que está declarada em um outro arquivo???
  How  could I call   a   function that is  declared  in an _other  file???

First, you must create the function, typically running the other file 
(dofile). Then you call the function just like any other function. 

-- Roberto

PS: please, do not send Portuguese messages to the list. You can send them
directly to us (lua@tecgraf.puc-rio.br).

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic