7.6

Table Of Contents
Example
show(char(84)+char(97)+char(108)+char(107))
% This displays the word "Talk"
CurToStr (function)
Converts a currency expression into a string value.
Syntax
curtostr( expression ) string value
Argument
expression
Currency value to convert.
ExpandString (function)
Returns a string that contains the data from a Workflow tool variable. Any variable available to the Workflow tool can be used
here.
Syntax
ExpandString(stringtoexpand: string) string
Arguments
stringtoexpand
The Workflow tool variable string to expand. This can be local and global variables, job infos, as well as any other variable
such as %o, %j, %y, etc.
Return Value
Returns the resulting expanded string.
Code Sample Example
define(&result, string, '')
&result = ExpandString("%{global.GlobalVar}")
show(&result)
% Also works with system variables
&result = ExpandString("%o")
show(&result)
Field (function)
Returns the contents of the specified field for the current record. This function is only useful in database emulation mode.
Syntax
field( fieldname[, recordnumber] ) string value
©2010 Objectif Lune Inc - 540 -