Hi all, Lets assume that i have a 3 nim source files like this. #file1.nim var v1 : int = 1500 #----------------------file1 ends here----------- #file2.nim var v2 : int = 2500 #----------------------file2 ends here----------- #file3.nim include file1 include file2 var v3 : int = 3500 #----------------------file3 ends here----------- Run
I can use v1 & v2 in file3. It's okay. I know that nim is considering file1, file2 & file3 as single file in this case. But how do i use v3 in file1 or file2 ?