This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Rangicus's profile picture

[SOLVED]Acii

Started by Rangicus, 22 October 2012 - 12:15 AM
Rangicus #1
Posted 22 October 2012 - 02:15 AM
I am try to print an ASCII message that is this:
Spoiler
and in CC the \'s wont appear help?
PixelToast #2
Posted 22 October 2012 - 02:30 AM
CC's font is fixed width so spaces might lookdifferent :/
Watcher7 #3
Posted 22 October 2012 - 02: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 (''').
remiX #4
Posted 22 October 2012 - 08:59 AM
People say using multiline texts work (but it doesn't for me). Give it a try.


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