vscode julia path changed, code to avoid Main.Notebook module context changed

This commit is contained in:
2026-03-05 20:50:28 +01:00
parent 733fe8c290
commit 0e6b3d92fa
10 changed files with 90 additions and 31 deletions

View File

@@ -380,6 +380,7 @@ B = readdlm("data2.txt")
In Julia, the `do` notation is frequently utilized for file handling (see @sec-do). The `open()` function includes methods where the first argument is a `function(iostream)`. This function is applied to the stream, which is automatically closed afterward. The `do` notation allows to define this function anonymously:
```{julia}
open("data2.txt", "w") do io
writedlm(io, A)
end
```