-
Content count
3904 -
Joined
-
Last visited
Single Status Update
-
Hey Ling.
When will you add Pascal syntax highlighting?!?!
program KillYourself(output); uses Math; type t_weapons = array[0..9] of string; var weapons: t_weapons; begin Randomize; { "chainsaw", "Colt", "9mm", "Beretta", "shotgun", "AWP", "Luger", "Panzerfaust", "flamethrower", "AIDS gun" }; weapons[0] := 'chainsaw'; weapons[1] := 'Colt'; weapons[2] := '9mm'; weapons[3] := 'Beretta'; weapons[4] := 'shotgun'; weapons[5] := 'AWP'; weapons[6] := 'Luger'; weapons[7] := 'Panzerfaust'; weapons[8] := 'flamethrower'; weapons[9] := 'AIDS gun'; write('The best weapon to kill yourself with is the ', weapons[Random(10)], '.'#13#10#13#10) end.
Cheers,
Gustavo.