Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Gustavo6046

Members
  • Content count

    1037
  • Joined

  • Last visited

5 Followers

About Gustavo6046

  • Rank
    Senior Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Single Status Update

See all updates by Gustavo6046

  1. 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.

×