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

h.write("shell.run("test")")

Started by LabyStudio, 23 June 2013 - 04:41 AM
LabyStudio #1
Posted 23 June 2013 - 06:41 AM
my problem ..
h.write("shell.run("test")")

bios:338: [string "startup"]:2: '}' expected

please help!
KevinW1998 #2
Posted 23 June 2013 - 06:54 AM
You need to escape the quotes:

h.write("shell.run(\"test\")")
Engineer #3
Posted 23 June 2013 - 06:55 AM
Or you can do this:

h.write('shell.run("test")')
Which I like more ;)/>
LabyStudio #4
Posted 23 June 2013 - 06:57 AM
thx ;)/>