Jump to content




[SOLVED]Acii


  • You cannot reply to this topic
3 replies to this topic

#1 dw28394

  • Members
  • 84 posts

Posted 22 October 2012 - 01:15 AM

I am try to print an ASCII message that is this:
Spoiler
and in CC the \'s wont appear help?
Posted Image

#2 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 22 October 2012 - 01:30 AM

CC's font is fixed width so spaces might lookdifferent :/

#3 Watcher7

  • Members
  • 25 posts
  • LocationEquestria, TX

Posted 22 October 2012 - 01:32 AM

You have to escape the 's.
EX:
> print(' ')

> print(' ')


's are known as 'escape characters'.
They're used for stuff like new lines ('n'), char codes ('001'), and quote escaping (''').

#4 remiX

  • Members
  • 2,076 posts
  • LocationSouth Africa

Posted 22 October 2012 - 07:59 AM

People say using multiline texts work (but it doesn't for me). Give it a try.

asciiText = [[
 -- ascii
 -- art
 -- goes
 -- here
]]






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users