tools.pkg File Reference

Functions

 lcat (p, q)
 Concat two list to one.
 divideList (x, p, r1, r2, f)
 Divide list.
 divideListString (x, p, r1, r2, f)
 Divide string list.
 divideListPos (x, p, r1, r2, pos, f)
 Divide list by position.
 divideList3 (x, p, r1, r2, f)
 Divide list by position.
 splitList (l, e, f)
 Split list.
 isSmaller (s, t)
 Test if a string is smaller than an another string.
 isLarger (s, t)
 Test if a string is larger than an another string.
 suppDoublon (s1, s2)
 Test if a string is equal to an another string.
 suppDoublon2 (s1, s2)
 Test if a value is equal to an another value.
 quicksort (l, f)
 Sort a list.
 quicksortByPos (l, pos, f)
 Sort a list by position.
 quicksortList (l, f)
 Sort a string list.
 quicksort3 (l, f)
 Sort a string list.
 sortlist (l, f)
 Sort a list.
 revertlist (list)
 Reverse a list.
 isStringInList (l, string)
 Test if a string exist in a list.
 isStringInListi (l, string)
 Test if a string exist in a list case unsensitivity.
 isFirstWordInList (l, string)
 Test if a string exist in a list as the first word of the string.
 isFirstWordInListi (l, string)
 Test if a string exist in a list as the first word of the string case unsensitivity.
 isFirstStringInList (l, string)
 Test if the first string of a list match to a word.
 getPathFile (longfile, file)
 getlastPathDir (path)
 getFileExt (file)
 getFilePathWithoutExt (file)
 getFileDirectory (file)
 getFileNameWithoutExt (file)
 getRelativePath (path, file)
 cutDotName (name)
 makeDotName (id, name)
 getFilesFromDir (dir, mask)
 getBooleanFromString (str)
 isLastWordfromString (word, string)
 isFirstWordfromString (word, string)
 listLowercase (l)
 getFilesFromDirRecursive (dir)
 cleanDirectory (dir)
 getDirectoryWithoutLastSlash (dir)
 getDirectoryWithoutFirstSlash (dir)
 apply_on_list (l, f, x)
 rev_apply_on_list (l, f, x)
 search_in_list (l, f, x)
 remove_from_list (l, p)
 remove_string_from_list (l, elt)
 remove_idx_from_list (l, idx)
 remove_sid_from_list (l, sid)
 remove_first_string_from_list (l, elt)
 remove_all_first_string_from_list (l, elt)
 remove_first_and_second_string_from_list (l, elt1, elt2)
 remove_first_string_from_list_start_with (l, elt)
 pos_in_list (l, p, n)
 create_tab (n, f, x)
 addFifo (x, f)
 getFifo (f)
 sizeFifo (f)
 concFifo (f, g)
 hexListToBignumList (l)
 strcatnSep (l, sep)
 strreplace (s, from, to)
 strreplacei (s, from, to)
 addSlashes (s)
 strTruncate (s, maxlen, rp)
 strToList (s)
 listToString (l)
 cbDownloadFile (req, p, data, code)
 downloadFile (file, cbfun)
 cbGetUrlContent (req, p, data, code)
 postUrl (url, params, cbfun)

Function Documentation

divideList ( ,
,
r1  ,
r2  ,
 
)

Divide list.

Prototype: fun [u0 [u0 r1] [u0 r1] [u0 r1] fun [u0 u0] I] [u0 r1]

Private

Returns:
[[u0 r1] [u0 r1]]
divideListString ( ,
,
r1  ,
r2  ,
 
)

Divide string list.

Prototype: fun [[S r1] [[S r1] r1] [[S r1] r1] [[S r1] r1] fun [[S r1] [S r1]] I] [[S r1] r1]

Private

Returns:
[[[S r1] r1] [[S r1] r1]]
divideListPos ( ,
,
r1  ,
r2  ,
pos  ,
 
)

Divide list by position.

Prototype: fun [[u0 r1] [[u0 r1] r1] [[u0 r1] r1] [[u0 r1] r1] I fun [[u0 r1] [u0 r1]] I] [[u0 r1] r1]

Private

Returns:
[[[u0 r1] r1] [[u0 r1] r1]]
divideList3 ( ,
,
r1  ,
r2  ,
 
)

Divide list by position.

Prototype: fun [[[S u0] r1] [[[S u0] r1] r1] [[[S u0] r1] r1] [[[S u0] r1] r1] I fun [[[S u0] r1] [[S u0] r1]] I] [[[S u0] r1] r1]

Private

Returns:
[[[[S u0] r1] r1] [[[S u0] r1] r1]]
splitList ( ,
,
 
)

Split list.

Prototype: fun [[u0 r1] u0 fun [u0 u0] I] [u0 r1]

Private

Returns:
[[u0 r1] [u0 r1]]
getPathFile ( longfile  ,
file   
)
getlastPathDir ( path   ) 
getFileExt ( file   ) 
getFilePathWithoutExt ( file   ) 
getFileDirectory ( file   ) 
getFileNameWithoutExt ( file   ) 
getRelativePath ( path  ,
file   
)
cutDotName ( name   ) 
makeDotName ( id  ,
name   
)
getFilesFromDir ( dir  ,
mask   
)
getBooleanFromString ( str   ) 
isLastWordfromString ( word  ,
string   
)
isFirstWordfromString ( word  ,
string   
)
listLowercase (  ) 
getFilesFromDirRecursive ( dir   ) 
cleanDirectory ( dir   ) 
getDirectoryWithoutLastSlash ( dir   ) 
getDirectoryWithoutFirstSlash ( dir   ) 
apply_on_list ( ,
,
 
)
rev_apply_on_list ( ,
,
 
)
search_in_list ( ,
,
 
)
remove_from_list ( ,
 
)
remove_string_from_list ( ,
elt   
)
remove_idx_from_list ( ,
idx   
)
remove_sid_from_list ( ,
sid   
)
remove_first_string_from_list ( ,
elt   
)
remove_all_first_string_from_list ( ,
elt   
)
remove_first_and_second_string_from_list ( ,
elt1  ,
elt2   
)
remove_first_string_from_list_start_with ( ,
elt   
)
pos_in_list ( ,
,
 
)
create_tab ( ,
,
 
)
addFifo ( ,
 
)
getFifo (  ) 
sizeFifo (  ) 
concFifo ( ,
 
)
hexListToBignumList (  ) 
strcatnSep ( ,
sep   
)
strreplace ( ,
from  ,
to   
)
strreplacei ( ,
from  ,
to   
)
addSlashes (  ) 
strTruncate ( ,
maxlen  ,
rp   
)
strToList (  ) 
listToString (  ) 
cbDownloadFile ( req  ,
,
data  ,
code   
)
downloadFile ( file  ,
cbfun   
)
cbGetUrlContent ( req  ,
,
data  ,
code   
)
postUrl ( url  ,
params  ,
cbfun   
)
 All Data Structures Files Functions Variables Typedefs
Generated on Mon Jul 5 21:30:13 2010 for OpenSpace3D libs by  doxygen 1.6.3