“using” expression not at top level


Can any body tell me what’s wrong with this?

You can not using packages inside functions, move the using statements outside the function body.

1 Like

Though I put “using”outside of the function,it shows the same error

Please post quoted code, and provide an MWE.

1 Like

you can by @eval using Package

3 Likes