Results 1 to 4 of 4

Thread: Help with auto drop procedure.

  1. #1
    Join Date
    Mar 2013
    Location
    Kansas
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help with auto drop procedure.

    Hello, i am just trying to create a single auto drop function that drops everything in slots 5-28, i am failing miserably. any ideas?

  2. #2
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Simba Code:
    DropAllExcept([1, 2, 3, 4]);

  3. #3
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    procedure DropAllExcept(DontDrop: TIntegerArray);

    usage:

    DropAllExcept([1,2,3,4])

    Edit: BMW!

    Creds to DannyRS for this wonderful sig!

  4. #4
    Join Date
    Mar 2013
    Location
    Kansas
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    so basically it would look like this? i just wrote this in this box and it probably sucks =( did i even do it right?

    program dropall;

    procedure DropAllExcept;
    begin;
    DroAllExcept ([1,2,3,4,]);
    end;

    begin;
    DropAllExcept;
    end;

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •