Lasso Soft Inc. > Home

Name Summary Category
staticarray Lasso's [staticarray] object type is an efficient, non-resizable container for holding any object type. Staticarrays are created in the same way as any object, but Lasso... Array
staticarray Lasso's [staticarray] object type is an efficient, non-resizable container for holding any object type. Staticarrays are created in the same way as any object, but Lasso... Array
array An array is an object that can hold multiple values which are referenced by an index position. An array can be thought of as a series of numbered variables or as a list. Array elements are indexed... Array
staticarray->asString Outputs the staticarray as a string. This method is used for debugging purposes. Array
array->get [array->get] returns an item from the array. Accepts a single integer parameter identifying the position of the item to be returned. The first element in an array is at position 1.... Array
array->size [array->size] returns the number of elements in the array. Array
array->asstaticarray The array->asstaticarray method converts a variable of type array to one of type staticarray. Array
array->insert [array->insert()] inserts a value into the array. Accepts a single parameter which is the value to be inserted and an optional integer parameter identifying the position of the location... Array
array->merge [array->merge] merges an array parameter into the array. Accepts an array parameter and three integer parameters that identify which items from the array parameter should be inserted into the... Array
array->remove [array->remove] removes an item from the array. Accepts a single integer parameter identifying the position of the item to be removed. Defaults to the last item in the array. An optional... Array
array->removeall The [array->removeall] method removes any elements that match the parameter from the array. Accepts a single parameter of any data type. Modifies the array in place, returns no value. If no... Array
array->reserve The [array->reserve] method reserves space for the specified number of elements in an array. Requires one parameter which is an integer specifying the expected size of the array.... Array
array->asString Outputs the array as a string. This method is used for debugging purposes. Array
array->contains array->contains returns true if the method's parameter is contained in the array or false otherwise. This tag performs the same operation as the contains symbol >> with an... Array
array->count Returns the number of elements in the array that match value. Array
array->exchange Exchanges the two elements within the array. Note: This method will fail if one of the parameters is larger or smaller than the number of elements in the array. Array
array->find [array->find] returns an array of elements that match the parameter. Accepts a single parameter of any data type. If the array contains any pair values, only the first part of the pair is... Array
array->findposition The [array->findposition] method searches the array for the parameter and returns an array of positions for those elements which match. Accepts a single parameter of any data type including... Array
array->forEach The [array->foreach] method invokes a tag, type, or compound expression on each element in the array. The method requires a single parameter which is a tag reference, data type instance, or... Array
array->forEachPair Part of the standard trait_keyedForEach. When iterating an array in this manner, the pair's ->first value is the element position, while ->second is the element value. Array
array->forEachKey Part of the standard trait_keyedForEach. Iterates over each "key", which is simply the positions for each element. Array
array->keys Returns a staticarray containing each element position. Array
array->reverse The [array->reverse] reverses all of the elements in the array so the last element is first and vice versa. The array is modified in-place and no result is returned. Array
array->sort The [array->sort] method reorders the elements of the array in alphabetical or numerical order. Accepts a single boolean parameter. Sorts in ascending order by default or if the parameter is True... Array
array->values Part of trait_fintiteForEach. Simply returns the elements as a staticarray. Array
Showing 1 - 25 of 36

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft