Description Usage Arguments Value See Also
The function will edit or show the value of specific parameters
1 2 |
term |
string. the term that need to be changed. must be provided |
value |
array, dim(array)=1. the set value. default NULL |
infile |
string. input file path. must be provided |
outfile |
string. output file path. default NULL |
type |
string. "show"(show the parameter, default), "edit"(edit the value) if there is mulitple locations for the corresponding term, only show value is possible and both location/index and value are returned. |
indrep |
array. the index of the one that need to be changed if there are multiple (edit). default 1 |
If type="edit", no value is returned and just change the file correspondingly If type="show" OR length(uncomm)!=1&&indrep==1, a list of value and line number will be returned
[change_block()] for modifying one block
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.