kenne keine Formel funktion namens "@evaluate".
Aber, evaluate wird in Script gerne verwendet, um komplexe Schritte in Script einzusparen, indem man es mit der Formelsprache über das Evaluate Statement koppelt. Evaluate führt die Formel innerhalb eines Scriptcodes aus.
Dazu die Help:
The Evaluate statement in Domino Designer has the following syntax:
returnValue = Evaluate( notesFormula [, notesObject ] )
NotesFormula is a string variable, expression, or constant.
notesObject is optional and provides context for the formula; for example, if the formula accesses a field, notesObject must be the NotesDocument object that contains the field.
returnValue is an array whose type and number of elements reflect the formula result; a scalar value is returned to element 0 of the array. You should use a variant for the return value since you may not know how many elements are being returned.
The following @functions, which affect the user interface, do not work within an Evaluate statement: @Command, @DbManager, @DbName, @DbTitle, @DDEExecute, @DDEInitiate, @DDEPoke, @DDETerminate, @DialogBox, @PickList, @PostedCommand, @Prompt, and @ViewTitle.
Beispiele aus diesem Forum (SUCHE Funktion):
Dim CharArray As Variant
ImplodedStr$ = "a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z"
StrDelimiter$ = ","
CharArray = evaluate(|@Explode("| & ImplodedStr$ & |";"| & StrDelimiter$ & |")|)
eval = evaluate({@Text(ReplicaID; "*")}, doc)
...dim und set von doc...
dim ret_eval as Variant
ret_eval = evaluate(|FIELD Mehrfachfeld := @Trim(@Replace(Mehrfachfeld;"| + loeschstring + |";""))|,doc)
Call backendDoc.ReplaceItemValue("tmp_DVB_Name", evaluate("@Name([CN]; DVB_Name)", note))
Function Split ( ImplodedStr$, StrDelimiter$) as variant
Split = evaluate(|@Explode("| & ImplodedStr & |";"| & StrDelimiter & |")|)
End function