ref/enums [en]
Differences between version #14230 and #14344
5,7c5,7
< red;
< green;
< blue;
---
> Red;
> Green;
> Blue;
13,15c13,15
< case red: 0xFF0000;
< case green: 0x00FF00;
< case blue: 0x0000FF;
---
> case Red: 0xFF0000;
> case Green: 0x00FF00;
> case Blue: 0x0000FF;
30,34c30,34
< red;
< green;
< blue;
< grey( v : Int );
< rgb( r : Int, g : Int, b : Int );
---
> Red;
> Green;
> Blue;
> Grey( v : Int );
> Rgb( r : Int, g : Int, b : Int );
41,47c41,47
< red;
< green;
< blue;
< grey(0);
< grey(128);
< rgb( 0x00, 0x12, 0x23 );
< rgb( 0xFF, 0xAA, 0xBB );
---
> Red;
> Green;
> Blue;
> Grey(0);
> Grey(128);
> Rgb( 0x00, 0x12, 0x23 );
> Rgb( 0xFF, 0xAA, 0xBB );
54,59c54,59
< red;
< green;
< blue;
< grey( v : Int );
< rgb( r : Int, g : Int, b : Int );
< alpha( a : Int, col : Color3 );
---
> Red;
> Green;
> Blue;
> Grey( v : Int );
> Rgb( r : Int, g : Int, b : Int );
> Alpha( a : Int, col : Color3 );
66,67c66,67
< alpha( 127, red );
< alpha( 255, rgb(0,0,0) );
---
> Alpha( 127, Red );
> Alpha( 255, Rgb(0,0,0) );
76,77c76,77
< case red: 0xFF0000;
< case green: 0x00FF00;
---
> case Red: 0xFF0000;
> case Green: 0x00FF00;
91,95c91,95
< case red: 0xFF0000;
< case green: 0x00FF00;
< case blue: 0x0000FF;
< case grey(v): (v << 16) | (v << 8) | v;
< case rgb(r,g,b): (r << 16) | (g << 8) | b;
---
> case Red: 0xFF0000;
> case Green: 0x00FF00;
> case Blue: 0x0000FF;
> case Grey(v): (v << 16) | (v << 8) | v;
> case Rgb(r,g,b): (r << 16) | (g << 8) | b;
111,112c111,112
< empty;
< cons( item : T, next : Cell<T> );
---
> Empty;
> Cons( item : T, next : Cell<T> );
119c119
< head = empty;
---
> head = Empty;
123c123
< head = cons(item,head);
---
> head = Cons(item,head);
127c127
< return cell_length(head);
---
> return cellLength(head);
130c130
< private function cell_length( c : Cell<T> ) : Int {
---
> private function cellLength( c : Cell<T> ) : Int {
132,133c132,133
< case empty : 0;
< case cons(item,next): 1 + cell_length(next);
---
> case Empty : 0;
> case Cons(item,next): 1 + cellLength(next);
148,149c148,149
< myFirstValue;
< mySecondValue;
---
> MyFirstValue;
> MySecondValue;
155c155
< a = MyEnum.myFirstValue;
---
> a = MyEnum.MyFirstValue;
164,166c164,166
< red;
< green;
< blue;
---
> Red;
> Green;
> Blue;
170c170
< var string = Std.string(EColor.blue);
---
> var string = Std.string(EColor.Blue);
| Ver | Date | User | Action |
|---|---|---|---|
| #18058 | 2013-04-28 23:50:05 | Confidant | View | Diff |
| #15412 | 2012-08-24 22:18:24 | Confidant | View | Diff |
| #15199 | 2012-07-27 12:44:40 | AndyLi | View | Diff |
| #14345 | 2012-07-02 11:20:05 | ncannasse | View | Diff |
| #14344 | 2012-07-02 11:19:42 | ncannasse | View | Diff |
| #14230 | 2012-06-12 18:33:17 | jjdonald | View | Diff |
| #14229 | 2012-06-12 18:32:51 | jjdonald | View | Diff |
| #14228 | 2012-06-12 18:32:37 | jjdonald | View | Diff |
| #14227 | 2012-06-12 18:32:12 | jjdonald | View | Diff |
| #14121 | 2012-05-22 20:51:35 | foobar | View | Diff |
| #13909 | 2012-05-07 14:08:44 | cambiata | View | Diff |
| #11971 | 2011-11-30 13:02:03 | JLM | Restored to version #6953 |
| #11812 | 2011-11-30 11:23:31 | Anonymous | View | Diff |
| #6953 | 2009-09-05 17:26:16 | justsee | View | Diff |
| #6952 | 2009-09-05 17:25:35 | justsee | View | Diff |
| #6951 | 2009-09-05 17:25:06 | justsee | View | Diff |
| #6950 | 2009-09-05 17:24:08 | justsee | View | Diff |
| #6949 | 2009-09-05 17:23:21 | justsee | View | Diff |
| #4835 | 2008-11-05 23:57:16 | jjdonald | View | Diff |
| #4834 | 2008-11-05 23:56:46 | jjdonald | View | Diff |
Previous | Next