Killerdou
2007-08-16 08:55:26
type
BooleanPlus = (True,False,Maybe);
var
X : BooleanPlus;
begin
X := Maybe;
end.
not sure what it is usefull for, but meh:) maybe stuff like
type
SimpleColor = (Red, Greed, Blue, Purple, Yellow, Orrange);
2007-08-16 08:55:26
type
BooleanPlus = (True,False,Maybe);
var
X : BooleanPlus;
begin
X := Maybe;
end.
not sure what it is usefull for, but meh:) maybe stuff like
type
SimpleColor = (Red, Greed, Blue, Purple, Yellow, Orrange);
2007-08-16 08:57:08
2007-08-16 08:59:00
2007-08-16 09:36:03
program New;
type
TBackGround = (Yellow, Red, Blue, Black, White);
TSetBackGround = Set of TBackGround;
var
BG : TSetBackGround;
begin
BG := [Red, Black];
if (Red in Bg) then Writeln('Red');
if (Black in Bg) then Writeln('Black');
end.
2007-08-16 09:37:08
2007-08-16 09:43:35
Type
FoodState = (Raw, Cooked, Burnt);
FoodBitmap = Record
Raw, Cooked, Burnt: Integer;
End;
Food = Record
Name: String;
OutLinePixels: Integer;
FoodBMP: FoodBitmap;
End;
InvFood = Record
Name: String;
State: FoodState;
End;
InvFoodAr = Array Of InvFood;
FoodAr = Array Of Food;
Function FoodStateToStr(x: FoodState): String;
Begin
Case x Of
Raw: Result := 'Raw';
Cooked: Result := 'Cooked';
Burnt: Result := 'Burnt';
End;
End;2007-08-16 10:16:33
2007-08-16 10:18:44
2007-08-16 10:20:17
2007-08-16 14:30:42
2007-08-16 14:35:55
2007-08-16 14:38:07
2007-08-16 14:50:04
2007-08-16 15:00:39
2007-08-17 02:02:46
2007-08-18 02:14:17
2007-08-21 03:51:09
2007-08-21 04:56:17
if FightRandomFound then
begin
maybe
run('n');
writeln('nah dont want to.....')
end;
2007-08-21 05:01:18