URL:
  <http://gna.org/patch/?1142>

                 Summary: Global function:Encapsulate
                 Project: Battle for Wesnoth
            Submitted by: velory
            Submitted on: Friday 03/27/2009 at 16:04
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Encapsulate:
i've implemented a global function named encapsulate which taking two lists
or maps and allow us to compare if all list1 elements in list2. I created
this function because formula havent got loop structure and we might not now
all elements which we want to compare. So this function is dynamically
compare 2 list.And i think also this function also too general for def(can be
generally needed) in formula algorithms and to be accepted as improvement.

Example usage: encapsulate([30,15],[10,20,30,40])






    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Friday 03/27/2009 at 16:04  Name: encapsulate_func.patch  Size: 1kB  
By: velory

<http://gna.org/patch/download.php?file_id=5516>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1142>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to