removed MDArray, wait for Cube 2 backport of nested lists
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7452 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -268,39 +268,6 @@ docargument [V] [the list to browse] [] [0];
|
||||
docargument [N] [the alias containing the current element value.] [] [0];
|
||||
docargument [body] [the body to execute on each iteration] [] [0];
|
||||
docexample [looplist "zero one two three" number [ echo $number ]] [];
|
||||
docident [MDArray_Add_To_Subarray] [Adds a string to an existing subarray in a cubescript multidimensional array.];
|
||||
docargument [A] [name of alias (multidimensional array)] [] [0];
|
||||
docargument [N] [name of target subarray to add to] [] [0];
|
||||
docargument [C] [string to add to target subarray] [] [0];
|
||||
docexample [MDArray_New_Subarray test list1 "this is part of list1"; MDArray_Add_To_Subarray test list1 "and so is this"; echo (MDArray_Get test list1 -1)] [Output: "this is part of list1" "and so is this"];
|
||||
docident [MDArray_Delete_Subarray] [Deletes an entire subarray from an existing cubescript multidimensional array.];
|
||||
docargument [A] [name of alias (multidimensional array)] [] [0];
|
||||
docargument [N] [name of target subarray to delete] [] [0];
|
||||
docident [MDArray_Get] [Returns a subarray or a subarray element of a cubescript multidimensional array.];
|
||||
docargument [A] [name of alias (multidimensional array)] [] [0];
|
||||
docargument [N] [name of target subarray to get] [] [0];
|
||||
docargument [E] [element # of subarray to get (-1 to return the whole subarray)] [] [0];
|
||||
docexample [MDArray_New_Subarray test words "how now brown cow"; echo (MDArray_Get test words -1); echo (MDArray_Get test words 2)] [Output: how now brown cow];
|
||||
docident [MDArray_Get_All_Subarray_Names] [Returns a list of all subarray names in a cubescript multidimensional array.];
|
||||
docargument [A] [name of alias (multidimensional array)] [] [0];
|
||||
docexample [MDArray_New_Subarray test chars "a b c d e f"; MDArray_New_Subarray test words "how now brown cow"; echo (MDArray_Get_All_Subarray_Names test)] [Output: chars words];
|
||||
docident [MDArray_Get_Subarray_Count] [Returns the number of subarrays in a cubescript multidimensional array.];
|
||||
docargument [A] [name of alias (multidimensional array)] [] [0];
|
||||
docident [MDArray_Modify_Subarray] [Modifies a subarray element of a cubescript multidimensional array.];
|
||||
docargument [A] [name of alias (multidimensional array)] [] [0];
|
||||
docargument [N] [name of target subarray to modify] [] [0];
|
||||
docargument [E] [element # of subarray to modify] [] [0];
|
||||
docargument [C] [new value of subarray element] [] [0];
|
||||
docexample [MDArray_New_Subarray test numbers "1 2 3 4 5"; MDArray_Modify_Subarray test numbers 2 9; echo (MDArray_Get test numbers -1)] [Output: 1 2 9 4 5];
|
||||
docident [MDArray_New_Subarray] [Adds a subarray to a cubescript multidimensional array. (alias)];
|
||||
docargument [A] [name of alias (multidimensional array)] [] [0];
|
||||
docargument [N] [name of subarray to create] [] [0];
|
||||
docargument [C] [subarray content (string)] [] [0];
|
||||
docexample [MDArray_New_Subarray test words "how now brown cow"; echo (MDArray_Get test words -1); echo (MDArray_Get test words 2)] [Output: how now brown cow];
|
||||
docident [MDArray_Search] [Returns a list of all subarray names that have content matching a specific keyword.];
|
||||
docargument [A] [name of alias (multidimensional array)] [] [0];
|
||||
docargument [K] [keyword to search for] [] [0];
|
||||
docexample [MDArray_New_Subarray test words "how now brown cow"; MDArray_New_Subarray test days "monday tuesday wednesday thursday friday saturday sunday"; MDArray_New_Subarray test sentences [ "his shirt was brown" "her shirt was white" ]; echo (MDArray_Search test brown)] [Output: words sentences];
|
||||
docident [mod] [Performs a modulo operation.];
|
||||
docargument [A] [the dividend] [] [0];
|
||||
docargument [B] [the divisor] [] [0];
|
||||
|
||||
Reference in New Issue
Block a user