Note that if you need the equivalent of Python's raw strings you can just 
use an empty macro

julia> macro raw_str(s) s end

julia> raw"3.2 3.6 z(x,y) = x@~\327@~exp(-x@+2@+-y@+2@+)"
"3.2 3.6 z(x,y) = x@~\\327@~exp(-x@+2@+-y@+2@+)"

julia> raw"grdmath $ DDX"
"grdmath \$ DDX"

julia>



On Monday, 7 September 2015 00:08:30 UTC+1, J Luis wrote:
>
> I need to create these, not to interpret what julia thinks it means.
>
> julia> "3.2 3.6 z(x,y) = x@~\327@~exp(-x@+2@+-y@+2@+)"
> ERROR: syntax: invalid UTF-8 sequence
>
> julia> "grdmath $ DDX"
> ERROR: syntax: invalid interpolation syntax: "$ "
>
> How do I do that?
>
> Thanks
>

Reply via email to