How about dropping do and just use function.

open("file.txt","wa") function(f)
    write(f,"hello")
end

Hmm.. It doesn't look as pretty as I imagined it before writing it out.

Reply via email to