Developers Jos Posted November 19, 2004 Developers Share Posted November 19, 2004 Should this be a bug report or a feature request or...?<{POST_SNAPBACK}> Shouldn't the dim statement read :Dim $colours[256][3] 3 colors that each can have a value from 0 to 255 ???? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Mr.Wizard Posted November 19, 2004 Share Posted November 19, 2004 (edited) nope, that would give you 256x3 possible colours, or 768 colours with 256 possible values of red, 256 possible values of green, and 256 possible values of blue per colour, there are 256x256x256 possible colours, or 16777216 colours, or 16k colours, or 2 to the power of 24, or 24-bit colour... Edited November 19, 2004 by Mr.Wizard I have a catapult. Give me all the money or I will fling an enormous rock at your head. Link to comment Share on other sites More sharing options...
Mr.Wizard Posted November 19, 2004 Share Posted November 19, 2004 If I was going to do it single dimensional then it wouldn't it need to be dim $colours[16777216] in which case it also DOIA with the array oversize error I have a catapult. Give me all the money or I will fling an enormous rock at your head. Link to comment Share on other sites More sharing options...
Deviant Posted November 19, 2004 Author Share Posted November 19, 2004 If I was going to do it single dimensional then it wouldn't it need to bedim $colours[16777216]in which case it also DOIA with the array oversize error<{POST_SNAPBACK}>Let me know when you guys figure out something that replies in a decent amount of time. = ))8 minutes to scan the colors when I only have 30 seconds to do it and other items, isn't fast enough. I need to scan in around 2 seconds or so.Maybe I need to find another alternative. (grins) Link to comment Share on other sites More sharing options...
Mr.Wizard Posted November 19, 2004 Share Posted November 19, 2004 well if it would let me dim this damn array i think it would be quick... I have a catapult. Give me all the money or I will fling an enormous rock at your head. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now