----------------------------------- PHP God Mon Jun 16, 2003 10:38 am 256 colors ----------------------------------- I want to take turing further, And i'm wondering if it's possible to load the 256 color pallete. If I did how would I specify color for say a line. ----------------------------------- Homer_simpson Mon Jun 16, 2003 11:04 am ----------------------------------- if your using 4.XX version of turing you can use : RGB.AddColor (redComp, greenComp, blueComp : real) : int RGB.GetColor (colorNumber : int, var redComp, greenComp, blueComp : real) RGB.SetColor (colorNumber: int, redComp, greenComp, blueComp : real) those 3 commands add and set colors using RGB(red green blue) ----------------------------------- PaddyLong Mon Jun 16, 2003 3:43 pm ----------------------------------- the RGB commands are also available in 3 ----------------------------------- Andy Mon Jun 16, 2003 4:42 pm ----------------------------------- and turing has 256 colors anyways ----------------------------------- PHP God Fri Jun 20, 2003 10:34 am ----------------------------------- whats the command for 3, it doesn't work the way homer said. ----------------------------------- Homer_simpson Fri Jun 20, 2003 1:16 pm ----------------------------------- i dont think that 3 has them... y dont u just go and download the newer version? ----------------------------------- PaddyLong Fri Jun 20, 2003 3:10 pm ----------------------------------- yes it does... well my version 3.1.1C does any way ... just type RGB in the editor and press f9 on it ----------------------------------- nate Sun Jun 22, 2003 5:29 pm ----------------------------------- r u trying 2 make a paint program? ----------------------------------- PHP God Mon Jun 23, 2003 7:57 am ----------------------------------- I'd download 4 but I'm at school. I did an F9, it was useless, here, try to make sense of it. RGB OOT predefined unit OOT Only Description: This unit contains the OOT predefined constants for the basic colors and the subprograms to change the color palette. All subprograms in the RGB unit are exported qualified (and thus must be prefaced with "RGB."). All the color constants are exported unqualified and thus do not need the RGB prefix. Entry Points black, blue, green, cyan, red, magenta, color names constants purple, brown, white, gray, grey, brightblue, (exported unqualified) brightgreen, brightcyan, brightred, brightmagenta, brightpurple, yellow, brightwhite, darkgray, darkgrey, colorfg, colourfg, colorbg, colourbg GetColor Gets the current red, green and blue values of a specified color number. GetColour Gets the current red, green and blue values of a specified color number. SetColor Sets the red, green and blue values of a specified color number. SetColour Sets the red, green and blue values of a specified color number. AddColor Creates a new color number with a specified red, green and blue value. AddColour Creates a new color number with a specified red, green and blue value. See also: OOT predefined unit RGB in Chapter Five. ----------------------------------- Andy Mon Jun 23, 2003 3:20 pm ----------------------------------- can't u click on each sub title? ----------------------------------- PaddyLong Tue Jun 24, 2003 3:10 pm ----------------------------------- you can click on them, but even still... just type the one you think would be useful based on the description it gives and then press f9 on that ----------------------------------- Andy Wed Jun 25, 2003 11:35 am ----------------------------------- does that work on 3 as well? i thought that only works on 4 ----------------------------------- PaddyLong Wed Jun 25, 2003 12:28 pm ----------------------------------- yes it works in 3 ----------------------------------- Andy Wed Jun 25, 2003 1:40 pm ----------------------------------- PHP, type RGB. whatever you found inthe help menue and press F9 ----------------------------------- PHP God Wed Jun 25, 2003 8:39 pm ----------------------------------- I'll download 4 tommorow when my PC gets back from the shop.