Lua 5.4.1

52 views
Skip to first unread message

Denis Dos Santos Silva

unread,
Oct 11, 2020, 5:37:55 PM10/11/20
to Lua BR

Eric Chiesse

unread,
Oct 19, 2020, 4:57:36 PM10/19/20
to lua...@googlegroups.com
Não curti o novo `fail`. Pra mim ele está sobrando.
---
Eric


--
Você recebeu essa mensagem porque está inscrito no grupo "Lua BR" dos Grupos do Google.
Para cancelar inscrição nesse grupo e parar de receber e-mails dele, envie um e-mail para lua-br+un...@googlegroups.com.
Para ver essa discussão na Web, acesse https://groups.google.com/d/msgid/lua-br/5e695de5-67e4-4e89-a32d-07c0e69bae08n%40googlegroups.com.

Denis Dos Santos Silva

unread,
Oct 20, 2020, 9:03:39 PM10/20/20
to Lua BR
"fail" ?

Eric Chiesse

unread,
Oct 20, 2020, 9:26:20 PM10/20/20
to lua...@googlegroups.com
Do manual:

"The notation fail means a false value representing some kind of failure. (Currently, fail is equal to nil, but that may change in future versions. The recommendation is to always test the success of these functions with (not status), instead of (status == nil).) "

---
Eric


Denis Dos Santos Silva

unread,
Oct 21, 2020, 12:51:40 PM10/21/20
to Lua BR
'fail' fico meio estranho mesmo
Reply all
Reply to author
Forward
0 new messages