3 posts
Posted 10 May 2014 - 05:53 AM
I have a quick question. When I try to run a paint on an advanced monitor I get the following error.
bios:339: [string "start"]:6: '=' expected
Anyone know what I can do to show a paint on an Advanced Monitor?
8543 posts
Posted 10 May 2014 - 11:43 AM
Please post your code.
995 posts
Location
Canada
Posted 10 May 2014 - 02:28 PM
You're using "monitor (side) paint", right?
197 posts
Location
Czech Republic
Posted 10 May 2014 - 02:32 PM
You're using "monitor (side) paint", right?
Wouldn't work, you need to pass the filename (e.g. monitor right paint myPicture)
995 posts
Location
Canada
Posted 10 May 2014 - 03:02 PM
Oh, right, I've just been testing my own program and it has a GUI to open files… derp.
3 posts
Posted 10 May 2014 - 10:38 PM
Well I've got the paint done, but I just want to show the painted image on my monitors.
197 posts
Location
Czech Republic
Posted 11 May 2014 - 01:58 PM
Well I've got the paint done, but I just want to show the painted image on my monitors.
-_-/> post your code
3 posts
Posted 12 May 2014 - 03:41 AM
Well I've got the paint done, but I just want to show the painted image on my monitors.
-_-/> post your code
I don't have a code……………. I just want to do "monitor bottom smiley" which is the paint with the picture.
1281 posts
Posted 12 May 2014 - 09:09 AM
Lol, yeah that won't work. The picture is just that, a picture, not a program. You'll have to do something like this.
term.redirect(peripheral.wrap"monitor side")
paintutils.drawImage(paintutils.loadImage"imagePath")
term.restore()