LoadError: UndefVarError: Printf not defined

Hi @GoH,

julia tries to evaluate your begin ... end block in a single go.
Macros are some of the first things that are expanded.
However, the macro @printf is only defined when calling using Printf.
So, this can not work.

Try splitting the package loading into a separate blocks / cells.

1 Like