It seems like it translate to @mstr macrocall
macro dump(ex)
dump(ex)
end
@dump("""hei""")
Expr
head: Symbol macrocall
args: Array(Any,(2,))
1: Symbol @mstr
2: ASCIIString "hei"
Ivar
typ: Anykl. 18:31:53 UTC+1 mandag 17. februar 2014 skrev Ismael VC følgende:
>
> julia> color = "red"
> "red"
>
> julia> @printf """yellow
> black
> %s""" color
> ERROR: first or second argument must be a format string
>
> julia> @printf """yellow
> black
> %s""" "red"
> ERROR: no method write(ASCIIString, ASCIIString)
>
> julia> @printf """yellow black %s""" "red"
> ERROR: no method write(ASCIIString, ASCIIString)
>
> julia> @printf """yellow black %s""" color
> ERROR: first or second argument must be a format string
>
> julia> @printf "yellow black %s" color
> yellow black red
> julia> @printf "yellow black %s" "red"
> yellow black red
>