Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%StructReplace function


Function
The function replaces a value defined by the parameter toDefValue in a structure column refToColumn within rows defined by the parameters rowFrom and rowTo with a value defined by the parameter replaceWithValue.
Declaration


Blok kódu
languageesl
themeConfluence
%StructReplace(
       in refToColumn, 
       in toFindValue, 
       in replaceWithValue, 
   INT in rowFrom, 
   INT in rowTo
 )
Parameters


refToColumnReference to a column.
toFindValueValue to
replace
be replaced with.
replaceWithValueValue to
fill
be filled into items.
rowFrom, rowToInteger expressions.
Description
If rowFrom=rowTo=0 => the function sets the value defined by the parameter value in the entire column. The column is defined by the reference to an item from this column (e.g. _rec^item).