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

[Solved] Using print()

Started by icecube45, 11 May 2013 - 04:41 PM
icecube45 #1
Posted 11 May 2013 - 06:41 PM
Hello, my problem is when i try to print the symbol "\" It wont show up, so

print("...\....")
will only print the periods
Any advice will be welcome!
Thanks in advance
Sammich Lord #2
Posted 11 May 2013 - 06:42 PM
\ is the escape character. You need to add another escape character to print it. So do this:
print("...\\....")
icecube45 #3
Posted 11 May 2013 - 06:44 PM
Thank you!