https://groups.google.com/forum/#!topic/julia-users/iG6qwZ_GWzA

http://stackoverflow.com/questions/19783030/in-julia-why-is-printf-a-macro-instead-of-a-function

https://groups.google.com/forum/#!topic/julia-users/7Sn5yys0UJE

etc

On Wednesday, November 18, 2015 at 6:38:09 PM UTC+1, Júlio Hoffimann wrote:
>
> Hi,
>
> Could you please explain why this works:
>
> @sprintf("foo%02i", 3)
>
> but this doesn't:
>
> s = string("foo","%02i")
> @sprintf(s, 3)
>
> How is a formatted string different than an usual string?
>
> -Júlio
>

Reply via email to