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

Detecting if a computer is advanced

Started by gril002, 19 May 2016 - 01:16 PM
gril002 #1
Posted 19 May 2016 - 03:16 PM
So is there a way to check if the computer is advanced or not simmilar to how you can check for pocket? The problem here is that my program uses colors and it crashes on a normal computer.
The Higher Realm #2
Posted 19 May 2016 - 03:23 PM
if term.isColor() then
advanced = true
end

term.isColor() will return if the computer can use color aka is advanced.
Edited on 19 May 2016 - 01:25 PM
gril002 #3
Posted 19 May 2016 - 03:26 PM
Thank you didn't think to look at the term API