SubstArr(tbl_file, str_key, array);
tbl_file
str_key
array
Looks up a key in a substitution table, and creates an array containing the entry values. Returns the number of entry values.
num
-1 In this example, the following substitution table (author.tbl) is used.
//!CodePage UTF8!//!multicolumn!agatha christie 1890alfred hitchcock 1899$nCol = SubstArr("../data/tables/author.tbl", "agatha", $addrArr);$surName = $addrArr[0];$birthDay = $addrArr[1];$nCol = 2$surName = christie$birthDay = 1890
• A substitution table is kept in memory until the script function EraseSubst is called for that table.
OpenText StreamServe 5.6 | Updated: 2013-03-01 |