I know that the below code will create record.txt
it in the default directory of julia.
io = open("record.txt", "w")
close(io)
However, I have a function called Myfile
(in which I will share it with others). So, I need to add in it a code to create a record.txt
in its folder (since I dont know in future in which directory it will be located), How can I do that?