This is my first time writing macros in Julia. I've read related docs but could not find an example which works with the arbitrary number of arguments. So in my example below the args... works correctly with string literals but for the passed variables it returns their names and not the values. I'm pretty sure this is a newbie mistake and much appreciate any comments. Thank you.
macro echo (args...) :(for x in $args print(x, " ") end) end julia> @echo "AAA" "VVV" 1 AAA VVV 1 julia> testB = "BBB" "BBB" julia> testC = "CCC" "CCC" julia> @echo testB testC testB testC