Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. "file_a":
  2. export a: const bool = true;
  3.  
  4. "file_b":
  5. import "file_c"
  6. prinf(my_fun()); // This prints "A is true"
  7.  
  8. "file_c":
  9. import "file_a"
  10.  
  11. b:= a ? "A is true" : "A is false";
  12.  
  13. export def my_fun {
  14.     printf(b);
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement