Allow different files in the same folder to access the same variable? #2920
Closed
DreepyYunky
started this conversation in
Ideas/Requests
Replies: 1 comment
-
That's the default already. Anything within the same package is visible across files and even across packages if imported elsewhere. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is the idea. If a create a variable/function in
foo.odin
Maybe I should be given the ability to access it in
bar.odin
Like this:
fmt.println(x)
Give me your ideas and opinions.
Beta Was this translation helpful? Give feedback.
All reactions