functions in silo.i -
silo_cd
|
silo_cd, dirname change current silo directory to DIRNAME, which may contain .. or . constructs as a UNIX pathname accepts silo= keyword to operate on a silo file other than the current silo file | |
SEE ALSO: | silo_ls, silo_var, silo_open, silo_close |
silo_close
|
silo_close close current silo file | |
SEE ALSO: | silo_cd, silo_ls, silo_var, silo_open |
silo_ls
|
silo_ls or silo_ls, dirname or itemlist= silo_ls(dirname) or itemlist= silo_ls(dirname, fulldirname) list current silo directory or DIRNAME if called as a function, returns a 1D array of strings beginning with ".", and optionally returns FULLDIRNAME, which is the full path name of the directory listed - the individual items in the list do not include the directory path - subdirectory names end with "/", so you can find them using strpart(itemlist,0:0)=="/" accepts silo= keyword to operate on a silo file other than the current silo file | |
SEE ALSO: | silo_ls, silo_cd, silo_open, silo_close |
silo_open
|
silo_open, filename or silo= silo_open(filename) open FILENAME for later use with silo_... functions There is a single current silo file, which is opened and set by the first form. The other silo_... functions normally operate on this current file, but also accept a silo= keyword, which is a list returned by the second calling sequence for silo_open. | |
SEE ALSO: | silo_cd, silo_ls, silo_var, silo_close |
silo_var
|
var= silo_var(varname) return silo variable VARNAME accepts silo= keyword to operate on a silo file other than the current silo file | |
SEE ALSO: | silo_ls, silo_cd, silo_open, silo_close |