Top-Level Scope?

Can someone explain “top-level scope” to me? I am forever running into top-level scope at none:0 errors and cant seem to troubleshoot them.

Thanks!

1 Like

Hi!
Would you please provide a simple example?

You can include code by wrapping it in backticks ` `
x = 1+1

1 Like

`julia> mean([1,2,3,4])
ERROR: UndefVarError: mean not defined
Stacktrace:
[1] top-level scope at none:0’

You need a using Statistics now in 1.0

Is there a list in the documentation that lets us know all the things we took for granted before and the Base packages we should be loading now?

0.7 has deprecation warnings in place.

2 Likes
1 Like