#How do i define escape symbol as a string?

1 messages · Page 1 of 1 (latest)

tacit sage
#

When im trying to add this as string it throws me "Invalid escape sequence" error

acoustic galleon
#

I don't see why it would be invalid. Can you paste the code here?

tacit sage
left halo
#

try putting raw before the """

acoustic galleon
#
julia> println("""
                   /  /\\
                  /  /:/
                 /  /:/ /\\
                /  /:/ /::\\ 
               //:/ /:/:\\
               \\  :/:/~/:/
                \\  ::/ /:/ 
                 _/ /:/
                   /__/:/
                   _/
       """)
            /  /\
           /  /:/
          /  /:/ /\
         /  /:/ /::\ 
        //:/ /:/:\
        \  :/:/~/:/
         \  ::/ /:/ 
          _/ /:/
            /__/:/
            _/
tacit sage
hollow lightBOT
#

Gave +1 Julia Points to @left halo