Conversation:
Notices
-
LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Monday, 27-Jul-2020 19:54:30 EDT LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} if filehandle ~= nil then
return filehandle
end
return false
This has been working okay, but I think
if filehandle ~= nil then
return filehandle, true
else
return nil, false
end
will more directly say what I mean. I need to read a little more to figure out which is more "idiomatic" for the language. (Or maybe ask @amic, who has used the language more than I have.)
#Lua