Jump to content




Help with colors needed


  • You cannot reply to this topic
4 replies to this topic

#1 tom2018

  • Members
  • 135 posts

Posted 24 October 2012 - 10:15 PM

I was wondering how would i detect if a computer is normal/advanced because when i have a colors option in my program and a normal computer selects it it then gives the error that color isn't supported and exits the program? I don't want to have to provide 2 different downloads for such a small item.

#2 Tiin57

    Java Lunatic

  • Members
  • 1,412 posts
  • LocationIndiana, United States

Posted 24 October 2012 - 10:36 PM

I don't believe there is a specific function to do this.

#3 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 24 October 2012 - 10:52 PM

term.isColor() or term.isColour(). Both do the same thing: return true on advanced computer/monitor, false on regular computer/monitor.

#4 Tiin57

    Java Lunatic

  • Members
  • 1,412 posts
  • LocationIndiana, United States

Posted 24 October 2012 - 10:56 PM

Oop. Sorry about misinformation.

#5 tom2018

  • Members
  • 135 posts

Posted 24 October 2012 - 11:01 PM

View PostLyqyd, on 24 October 2012 - 10:52 PM, said:

term.isColor() or term.isColour(). Both do the same thing: return true on advanced computer/monitor, false on regular computer/monitor.
Thanks





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users