লুয়া close ফাইল সিস্টেম
🌈লুয়া close ফাইল সিস্টেম কি?
📋লুয়া close ফাইল সিস্টেম হলো ফাইল বন্ধ করার পদ্ধতি।
⚒️লুয়া close ফাইল সিস্টেম ফাইল বন্ধ করতে ব্যবহৃত হয়।
লুয়া close ফাইল সিস্টেম ফাইল বন্ধ করার উদাহরণ।
lua
local file = io.open("./api/document.txt", "r")
if file then
file:close()
print(file:read("*a") == nil)
end