# ╔═╡ 7659d0cc-b872-11ed-2e70-d767b8913f62
begin
sleep(3)
x
end
# ╔═╡ 820a8851-0a89-417b-b795-b2d1b67d9680
begin
sleep(3)
@asdf x
end
# ╔═╡ 18263a21-e163-4330-96cd-b17f37ccd033
macro asdf(name::Symbol)
:($(esc(name)) = rand())
end
The first cell initially errors, because it runs before the other cells:
When you run the cell a second time, it shows the correct result.
When you run the following notebook:
The first cell initially errors, because it runs before the other cells:
When you run the cell a second time, it shows the correct result.