Scol standard library package  0.3.1
Common and usefull functions for all Scol applications
Functions
tab.pkg File Reference

Scol Standard Library - Table API. More...

Functions

 std_tabcheckindex (tab, index)
 
 std_tabClear (tab)
 Clear all values of a table to nil. More...
 
 std_tabCmp (tab, index, value)
 Compare a value of an index with a given value. All types are supported except S (string). For the last case,. More...
 
 std_tabCmpStr (tab, index, string)
 Compare a string of an index with a given string. More...
 
 std_tabCmpUntil (tab1, tab2, from, len)
 Compare all values from an index until a lenght between two tables. The first index is always 0 in a table. All types are supported except S (string). For the last case,. More...
 
 std_tabcmpuntilstr (tab1, tab2, from, len, isSensitive)
 
 std_tabCmpUntilStr (tab1, tab2, from, len)
 Compare all strings from an index until a lenght between two tables. Function case-sensitive. The first index is always 0 in a table. More...
 
 std_tabCmpUntilStri (tab1, tab2, from, len)
 Compare all strings from an index until a lenght between two tables. Function case-insensitive. The first index is always 0 in a table. More...
 
 std_tabCopy (tab, size)
 Copy values of a table in a new table If the size of the table is smaller than the size of the new table, all other indexes are nil. More...
 
 std_tabCreate (size, f, x)
 Create an array and fill it. More...
 
 std_tabfind (tab, size, i, value)
 
 std_tabFind (tab, value, from)
 Searches a value in a table from a position. To find all results, this function can be called from a loop/recursive function. The first index is always 0 in a table. All types are supported except S (string). For the last case,. More...
 
 std_tabfindstr (tab, size, i, str, isSensitive)
 
 std_tabFindStr (tab, str, from)
 Searches a string in a table from a position. To find all results, this function can be called from a loop/recursive function. The first index is always 0 in a table. More...
 
 std_tabFindStri (tab, str, from)
 Searches a string in a table from a position. To find all results, this function can be called from a loop/recursive function. The first index is always 0 in a table. More...
 
 std_tabGet (tab, index)
 Get the appropriate value to an index. The function verify if the index is not out of range. More...
 
 std_tabindexpositive (tab, index)
 
 std_tabReset (tab, f, x)
 Reset all values of a table. More...
 
 std_tabSet (tab, index, value)
 Set the value to an index. The function verify if the index is not out of range. More...
 

Detailed Description

Scol Standard Library - Table API.

Author
Scol team
Version
0.1

This API provides an high level method to easily manage a table